#CB4878#CB4878
#CB4878 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.171 H 1.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CB4878 |
|---|---|
| RGB | rgb(203, 72, 120) |
| HSL | hsl(338, 56%, 54%) |
| HSV | hsv(338, 65%, 80%) |
| CMYK | cmyk(0%, 64.5%, 40.9%, 20.4%) |
| CIE-LAB | lab(50.32, 55.83, 1.09) |
| CIE-LCH | lch(50.32, 55.84, 1.12°) |
| OKLab | oklab(59.4% 0.1707 0.0035) |
| OKLCH | oklch(59.4% 0.171 1.2) |
| XYZ | xyz(30.3382, 18.6909, 19.7757) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.86
Dark Pink
#CB416B
ΔE00 3.15
Deep Rose
#C74767
ΔE00 4.47
Dark Hot Pink
#D90166
ΔE00 6.41
Cherry
#DE3163
ΔE00 6.45
Cerise
#DE0C62
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB4878 #48CB9B
analogous
#CB48BA #CB4878 #CB5A48
triadic
#CB4878 #78CB48 #4878CB
tetradic
#CB4878 #BACB48 #48CB9B #5A48CB
square
#CB4878 #BACB48 #48CB9B #5A48CB
split-complementary
#CB4878 #48CB5A #48BACB
monochromatic
#772241 #A62F5B #CB4878 #D9789B #E6A7BE
Accessibility & contrast
On white
4.43
#CB4878 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#CB4878 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB4878
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB4878 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB4878 | 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)
#616879
Deuteranopia (green-blind)
#848175
Tritanopia (blue-blind)
#DB395B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #cb4878; /* rgb */ color: rgb(203, 72, 120); /* oklch */ color: oklch(59.4% 0.171 1.2);
Tailwind
colors: {
custom: {
50: '#df829e',
500: '#cb4878',
950: '#000000',
},
}SCSS
$custom: #cb4878; $custom-light: #df829e; $custom-dark: #000000;
JSON
{
"hex": "#cb4878",
"rgb": {
"r": 203,
"g": 72,
"b": 120
},
"hsl": {
"h": 338.015,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.59397,
"c": 0.17072,
"h": 1.2
},
"luminance": 0.18687
}Semantic roles & 50–950 ramp
primary
#CB4878
secondary
#9BD3BF
accent
#DFA849
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E