Skip to content
Kolorvia
#cc048c

Color #cc048c

A vivid, highly saturated medium magenta.

Conversions

HEX
#cc048c
RGB
rgb(204, 4, 140)
HSL
hsl(319.2, 96.2%, 40.8%)
HSV / HSB
hsv(319.2, 98%, 80%)
CMYK
cmyk(0%, 98%, 31.4%, 20%)
LAB
lab(45.39, 74.61, -18.4)
LCH
lch(45.39, 76.85, 346.15)
OKLCH
oklch(56.1%, 0.234, 348.04)
HWB
hwb(319.2, 1.6%, 20%)

Harmony colors

Complementary

#04cc44

Analogous

#a804cc
#cc048c
#cc0428

Triadic

#cc048c
#8ccc04
#048ccc

Split-complementary

#cc048c
#28cc04
#04cca8

Tetradic

#cc048c
#cc4404
#04cc44
#048ccc

Square

#cc048c
#cca804
#04cc44
#0428cc

Shades

Color #cc048c mixed toward black.

#aa0375
#88035d
#660246
#44012f
#220117

Tints

Color #cc048c mixed toward white.

#fa08ad
#fb3abd
#fc6bce
#fd9cde
#feceef

Tones

Color #cc048c mixed toward gray.

#bb1586
#ab2580
#9a367a
#894774
#79576e

Accessibility

Aa White text on this color
5.3:1
Aa Black text on this color
3.96:1

White text reads better on this background (5.3:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#9e9d7b · ΔE 51.5

Deuteranopia

#a5ae77 · ΔE 62.3

Tritanopia

#c76c68 · ΔE 24

Achromatopsia

#6b6b6b · ΔE 28.3

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #cc048c;
Tailwind (arbitrary value)
bg-[#cc048c]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#cc048c (#cc048c) is rgb(204, 4, 140) in RGB.

No, #cc048c is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #cc048c, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.