#CB4877#CB4877
#CB4877 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.170 H 1.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4877 |
|---|---|
| RGB | rgb(203, 72, 119) |
| HSL | hsl(338, 56%, 54%) |
| HSV | hsv(338, 65%, 80%) |
| CMYK | cmyk(0%, 64.5%, 41.4%, 20.4%) |
| CIE-LAB | lab(50.30, 55.73, 1.65) |
| CIE-LCH | lch(50.30, 55.75, 1.70°) |
| OKLab | oklab(59.37% 0.1703 0.0049) |
| OKLCH | oklch(59.37% 0.17 1.7) |
| XYZ | xyz(30.2778, 18.6667, 19.4578) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 2.91
Deep Rose
#C74767
ΔE00 4.20
Cherry
#DE3163
ΔE00 6.23
Dark Hot Pink
#D90166
ΔE00 6.32
Cerise
#DE0C62
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4877 #48CB9C
analogous
#CB48B9 #CB4877 #CB5B48
triadic
#CB4877 #77CB48 #4877CB
tetradic
#CB4877 #B9CB48 #48CB9C #5B48CB
square
#CB4877 #B9CB48 #48CB9C #5B48CB
split-complementary
#CB4877 #48CB5B #48B9CB
monochromatic
#772240 #A62F5A #CB4877 #D9789A #E6A7BE
Accessibility & contrast
On white
4.44
#CB4877 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#CB4877 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4877
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4877 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4877 | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626878
Deuteranopia (green-blind)
#858174
Tritanopia (blue-blind)
#DB395B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4877; /* rgb */ color: rgb(203, 72, 119); /* oklch */ color: oklch(59.4% 0.170 1.7);
Tailwind
colors: {
custom: {
50: '#e0829e',
500: '#cb4877',
950: '#000000',
},
}SCSS
$custom: #cb4877; $custom-light: #e0829e; $custom-dark: #000000;
JSON
{
"hex": "#cb4877",
"rgb": {
"r": 203,
"g": 72,
"b": 119
},
"hsl": {
"h": 338.473,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.59366,
"c": 0.1704,
"h": 1.7
},
"luminance": 0.18663
}Semantic roles & 50–950 ramp
primary
#CB4877
secondary
#9BD3BF
accent
#DFA949
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E