#CB5078#CB5078
#CB5078 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.3% C 0.160 H 2.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5078 |
|---|---|
| RGB | rgb(203, 80, 120) |
| HSL | hsl(340, 54%, 55%) |
| HSV | hsv(340, 61%, 80%) |
| CMYK | cmyk(0%, 60.6%, 40.9%, 20.4%) |
| CIE-LAB | lab(51.60, 52.37, 2.94) |
| CIE-LCH | lch(51.60, 52.46, 3.22°) |
| OKLab | oklab(60.35% 0.1598 0.0082) |
| OKLCH | oklch(60.35% 0.16 2.9) |
| XYZ | xyz(30.8894, 19.7934, 19.9595) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.88
Dark Pink
#CB416B
ΔE00 3.54
Deep Rose
#C74767
ΔE00 4.15
Blush
#DE5D83
ΔE00 5.32
Rose (survey)
#CF6275
ΔE00 6.04
Cherry
#DE3163
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5078 #50CBA3
analogous
#CB50B5 #CB5078 #CB6550
triadic
#CB5078 #78CB50 #5078CB
tetradic
#CB5078 #B5CB50 #50CBA3 #6550CB
square
#CB5078 #B5CB50 #50CBA3 #6550CB
split-complementary
#CB5078 #50CB65 #50B5CB
monochromatic
#7C2541 #AB335A #CB5078 #D97F9C #E7AEC1
Accessibility & contrast
On white
4.24
#CB5078 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#CB5078 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5078
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5078 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5078 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DB435F
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb5078; /* rgb */ color: rgb(203, 80, 120); /* oklch */ color: oklch(60.3% 0.160 2.9);
Tailwind
colors: {
custom: {
50: '#df879e',
500: '#cb5078',
950: '#000000',
},
}SCSS
$custom: #cb5078; $custom-light: #df879e; $custom-dark: #000000;
JSON
{
"hex": "#cb5078",
"rgb": {
"r": 203,
"g": 80,
"b": 120
},
"hsl": {
"h": 340.488,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.60349,
"c": 0.15999,
"h": 2.9
},
"luminance": 0.1979
}Semantic roles & 50–950 ramp
primary
#CB5078
secondary
#A2D5C4
accent
#DEAE4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E