#CC4BAF#CC4BAF
#CC4BAF is a mid, vivid pink. Relative luminance 0.210; OKLCH L 62.0% C 0.197 H 337.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4BAF |
|---|---|
| RGB | rgb(204, 75, 175) |
| HSL | hsl(313, 56%, 55%) |
| HSV | hsv(313, 63%, 80%) |
| CMYK | cmyk(0%, 63.2%, 14.2%, 20%) |
| CIE-LAB | lab(52.91, 61.87, -27.63) |
| CIE-LCH | lch(52.91, 67.76, 335.94°) |
| OKLab | oklab(61.98% 0.182 -0.0748) |
| OKLCH | oklch(61.98% 0.197 337.7) |
| XYZ | xyz(35.1563, 20.9677, 42.7447) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.06
Purpley Pink
#C83CB9
ΔE00 3.89
Purplish Pink
#CE5DAE
ΔE00 3.96
Purpleish Pink
#DF4EC8
ΔE00 4.99
Pinkish Purple
#D648D7
ΔE00 6.64
Hot Magenta
#F504C9
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4BAF #4BCC68
analogous
#A84BCC #CC4BAF #CC4B6F
triadic
#CC4BAF #AFCC4B #4BAFCC
tetradic
#CC4BAF #CCA84B #4BCC68 #4B6FCC
square
#CC4BAF #CCA84B #4BCC68 #4B6FCC
split-complementary
#CC4BAF #6FCC4B #4BCCA8
monochromatic
#7A2366 #AA308E #CC4BAF #DA7BC4 #E7AAD9
Accessibility & contrast
On white
4.04
#CC4BAF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#CC4BAF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4BAF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4BAF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4BAF | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#D75176
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cc4baf; /* rgb */ color: rgb(204, 75, 175); /* oklch */ color: oklch(62.0% 0.197 337.7);
Tailwind
colors: {
custom: {
50: '#df85c7',
500: '#cc4baf',
950: '#000000',
},
}SCSS
$custom: #cc4baf; $custom-light: #df85c7; $custom-dark: #000000;
JSON
{
"hex": "#cc4baf",
"rgb": {
"r": 204,
"g": 75,
"b": 175
},
"hsl": {
"h": 313.488,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.61984,
"c": 0.19679,
"h": 337.7
},
"luminance": 0.20965
}Semantic roles & 50–950 ramp
primary
#CC4BAF
secondary
#9ED5AA
accent
#DF6A49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82