#CC4B9D#CC4B9D
#CC4B9D is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.2% C 0.185 H 344.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4B9D |
|---|---|
| RGB | rgb(204, 75, 157) |
| HSL | hsl(322, 56%, 55%) |
| HSV | hsv(322, 63%, 80%) |
| CMYK | cmyk(0%, 63.2%, 23%, 20%) |
| CIE-LAB | lab(52.18, 59.31, -18.19) |
| CIE-LCH | lch(52.18, 62.04, 342.95°) |
| OKLab | oklab(61.21% 0.1785 -0.0483) |
| OKLCH | oklch(61.21% 0.185 344.9) |
| XYZ | xyz(33.5048, 20.3071, 34.0469) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.52
Pinky Purple
#C94CBE
ΔE00 6.73
Pale Magenta
#D767AD
ΔE00 6.82
Purpley Pink
#C83CB9
ΔE00 6.91
Purpleish Pink
#DF4EC8
ΔE00 7.80
Shocking Pink
#FE02A2
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4B9D #4BCC7A
analogous
#BA4BCC #CC4B9D #CC4B5D
triadic
#CC4B9D #9DCC4B #4B9DCC
tetradic
#CC4B9D #CCBA4B #4BCC7A #4B5DCC
square
#CC4B9D #CCBA4B #4BCC7A #4B5DCC
split-complementary
#CC4B9D #5DCC4B #4BCCBA
monochromatic
#7A235A #AA307D #CC4B9D #DA7BB7 #E7AAD1
Accessibility & contrast
On white
4.15
#CC4B9D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CC4B9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4B9D
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4B9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4B9D | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586F9F
Deuteranopia (green-blind)
#7D849A
Tritanopia (blue-blind)
#D94A6D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cc4b9d; /* rgb */ color: rgb(204, 75, 157); /* oklch */ color: oklch(61.2% 0.185 344.9);
Tailwind
colors: {
custom: {
50: '#df85ba',
500: '#cc4b9d',
950: '#000000',
},
}SCSS
$custom: #cc4b9d; $custom-light: #df85ba; $custom-dark: #000000;
JSON
{
"hex": "#cc4b9d",
"rgb": {
"r": 204,
"g": 75,
"b": 157
},
"hsl": {
"h": 321.86,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.61208,
"c": 0.18489,
"h": 344.9
},
"luminance": 0.20304
}Semantic roles & 50–950 ramp
primary
#CC4B9D
secondary
#9ED5B2
accent
#DF7F49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80