#CB477D#CB477D
#CB477D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.174 H 358.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CB477D |
|---|---|
| RGB | rgb(203, 71, 125) |
| HSL | hsl(335, 56%, 54%) |
| HSV | hsv(335, 65%, 80%) |
| CMYK | cmyk(0%, 65%, 38.4%, 20.4%) |
| CIE-LAB | lab(50.32, 56.77, -1.93) |
| CIE-LCH | lch(50.32, 56.81, 358.05°) |
| OKLab | oklab(59.44% 0.1737 -0.0043) |
| OKLCH | oklch(59.44% 0.174 358.6) |
| XYZ | xyz(30.5854, 18.6872, 21.3944) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.22
Dark Pink
#CB416B
ΔE00 4.44
Deep Rose
#C74767
ΔE00 5.86
Dark Hot Pink
#D90166
ΔE00 6.89
Blush
#DE5D83
ΔE00 7.33
Cerise
#DE0C62
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB477D #47CB95
analogous
#CB47BF #CB477D #CB5347
triadic
#CB477D #7DCB47 #477DCB
tetradic
#CB477D #BFCB47 #47CB95 #5347CB
square
#CB477D #BFCB47 #47CB95 #5347CB
split-complementary
#CB477D #47CB53 #47BFCB
monochromatic
#762144 #A62F60 #CB477D #D8779F #E6A6C0
Accessibility & contrast
On white
4.43
#CB477D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#CB477D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB477D
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB477D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB477D | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F687E
Deuteranopia (green-blind)
#83817A
Tritanopia (blue-blind)
#DB3A5D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb477d; /* rgb */ color: rgb(203, 71, 125); /* oklch */ color: oklch(59.4% 0.174 358.6);
Tailwind
colors: {
custom: {
50: '#df82a2',
500: '#cb477d',
950: '#000000',
},
}SCSS
$custom: #cb477d; $custom-light: #df82a2; $custom-dark: #000000;
JSON
{
"hex": "#cb477d",
"rgb": {
"r": 203,
"g": 71,
"b": 125
},
"hsl": {
"h": 335.455,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.59442,
"c": 0.17371,
"h": 358.6
},
"luminance": 0.18684
}Semantic roles & 50–950 ramp
primary
#CB477D
secondary
#9BD3BC
accent
#DFA249
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E