#CB4879#CB4879
#CB4879 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.171 H 0.7°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4879 |
|---|---|
| RGB | rgb(203, 72, 121) |
| HSL | hsl(338, 56%, 54%) |
| HSV | hsv(338, 65%, 80%) |
| CMYK | cmyk(0%, 64.5%, 40.4%, 20.4%) |
| CIE-LAB | lab(50.35, 55.93, 0.53) |
| CIE-LCH | lch(50.35, 55.94, 0.54°) |
| OKLab | oklab(59.43% 0.171 0.002) |
| OKLCH | oklch(59.43% 0.171 0.7) |
| XYZ | xyz(30.3992, 18.7153, 20.0970) |
| Luminance | 0.1871 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.86
Dark Pink
#CB416B
ΔE00 3.40
Deep Rose
#C74767
ΔE00 4.73
Dark Hot Pink
#D90166
ΔE00 6.51
Cherry
#DE3163
ΔE00 6.68
Blush
#DE5D83
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4879 #48CB9A
analogous
#CB48BB #CB4879 #CB5948
triadic
#CB4879 #79CB48 #4879CB
tetradic
#CB4879 #BBCB48 #48CB9A #5948CB
square
#CB4879 #BBCB48 #48CB9A #5948CB
split-complementary
#CB4879 #48CB59 #48BBCB
monochromatic
#772242 #A62F5C #CB4879 #D9789C #E6A7BF
Accessibility & contrast
On white
4.43
#CB4879 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#CB4879 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4879
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4879 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4879 | 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)
#61687A
Deuteranopia (green-blind)
#848176
Tritanopia (blue-blind)
#DB3A5B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4879; /* rgb */ color: rgb(203, 72, 121); /* oklch */ color: oklch(59.4% 0.171 0.7);
Tailwind
colors: {
custom: {
50: '#df829f',
500: '#cb4879',
950: '#000000',
},
}SCSS
$custom: #cb4879; $custom-light: #df829f; $custom-dark: #000000;
JSON
{
"hex": "#cb4879",
"rgb": {
"r": 203,
"g": 72,
"b": 121
},
"hsl": {
"h": 337.557,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.59428,
"c": 0.17103,
"h": 0.7
},
"luminance": 0.18712
}Semantic roles & 50–950 ramp
primary
#CB4879
secondary
#9BD3BE
accent
#DFA749
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E