#CB5487#CB5487
#CB5487 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.3% C 0.160 H 356.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5487 |
|---|---|
| RGB | rgb(203, 84, 135) |
| HSL | hsl(334, 53%, 56%) |
| HSV | hsv(334, 59%, 80%) |
| CMYK | cmyk(0%, 58.6%, 33.5%, 20.4%) |
| CIE-LAB | lab(52.72, 52.26, -4.37) |
| CIE-LCH | lch(52.72, 52.45, 355.22°) |
| OKLab | oklab(61.33% 0.1592 -0.0108) |
| OKLCH | oklch(61.33% 0.16 356.1) |
| XYZ | xyz(32.1737, 20.7898, 25.2354) |
| Luminance | 0.2079 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.95
Blush
#DE5D83
ΔE00 6.07
Dark Pink
#CB416B
ΔE00 6.76
Deep Rose
#C74767
ΔE00 7.74
Palevioletred
#DB7093
ΔE00 7.90
Pale Magenta
#D767AD
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5487 #54CB98
analogous
#CB54C2 #CB5487 #CB5D54
triadic
#CB5487 #87CB54 #5487CB
tetradic
#CB5487 #C2CB54 #54CB98 #5D54CB
square
#CB5487 #C2CB54 #54CB98 #5D54CB
split-complementary
#CB5487 #54CB5D #54C2CB
monochromatic
#7E264C #AD3568 #CB5487 #D983A8 #E8B2C9
Accessibility & contrast
On white
4.07
#CB5487 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#CB5487 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5487
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5487 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5487 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677089
Deuteranopia (green-blind)
#878684
Tritanopia (blue-blind)
#DA4C68
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb5487; /* rgb */ color: rgb(203, 84, 135); /* oklch */ color: oklch(61.3% 0.160 356.1);
Tailwind
colors: {
custom: {
50: '#de89a9',
500: '#cb5487',
950: '#000000',
},
}SCSS
$custom: #cb5487; $custom-light: #de89a9; $custom-dark: #000000;
JSON
{
"hex": "#cb5487",
"rgb": {
"r": 203,
"g": 84,
"b": 135
},
"hsl": {
"h": 334.286,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.61325,
"c": 0.15958,
"h": 356.1
},
"luminance": 0.20786
}Semantic roles & 50–950 ramp
primary
#CB5487
secondary
#A5D6C1
accent
#DD9E4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F