#CC3EAF#CC3EAF
#CC3EAF is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.7% C 0.213 H 337.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3EAF |
|---|---|
| RGB | rgb(204, 62, 175) |
| HSL | hsl(312, 58%, 52%) |
| HSV | hsv(312, 70%, 80%) |
| CMYK | cmyk(0%, 69.6%, 14.2%, 20%) |
| CIE-LAB | lab(51.13, 66.84, -30.40) |
| CIE-LCH | lch(51.13, 73.43, 335.54°) |
| OKLab | oklab(60.69% 0.1968 -0.0826) |
| OKLCH | oklch(60.69% 0.213 337.2) |
| XYZ | xyz(34.3629, 19.3809, 42.4802) |
| Luminance | 0.1938 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.34
Pinky Purple
#C94CBE
ΔE00 3.41
Purpleish Pink
#DF4EC8
ΔE00 6.17
Purplish Pink
#CE5DAE
ΔE00 6.18
Hot Magenta
#F504C9
ΔE00 6.70
Pinkish Purple
#D648D7
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3EAF #3ECC5B
analogous
#A23ECC #CC3EAF #CC3E68
triadic
#CC3EAF #AFCC3E #3EAFCC
tetradic
#CC3EAF #CCA23E #3ECC5B #3E68CC
square
#CC3EAF #CCA23E #3ECC5B #3E68CC
split-complementary
#CC3EAF #68CC3E #3ECCA2
monochromatic
#721E61 #A22B8A #CC3EAF #D96EC3 #E69FD7
Accessibility & contrast
On white
4.31
#CC3EAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.88
#CC3EAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3EAF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3EAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3EAF | 1.00 | 4.31 | 4.88 | 4.88 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#D74671
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #cc3eaf; /* rgb */ color: rgb(204, 62, 175); /* oklch */ color: oklch(60.7% 0.213 337.2);
Tailwind
colors: {
custom: {
50: '#df7fc7',
500: '#cc3eaf',
950: '#000000',
},
}SCSS
$custom: #cc3eaf; $custom-light: #df7fc7; $custom-dark: #000000;
JSON
{
"hex": "#cc3eaf",
"rgb": {
"r": 204,
"g": 62,
"b": 175
},
"hsl": {
"h": 312.254,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.60685,
"c": 0.21345,
"h": 337.2
},
"luminance": 0.19378
}Semantic roles & 50–950 ramp
primary
#CC3EAF
secondary
#94D2A1
accent
#E16646
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82