#CB5981#CB5981
#CB5981 is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.8% C 0.150 H 0.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5981 |
|---|---|
| RGB | rgb(203, 89, 129) |
| HSL | hsl(339, 52%, 57%) |
| HSV | hsv(339, 56%, 80%) |
| CMYK | cmyk(0%, 56.2%, 36.5%, 20.4%) |
| CIE-LAB | lab(53.42, 49.22, 0.22) |
| CIE-LCH | lch(53.42, 49.22, 0.25°) |
| OKLab | oklab(61.79% 0.15 0.0012) |
| OKLCH | oklch(61.79% 0.15 0.5) |
| XYZ | xyz(32.1652, 21.4296, 23.2070) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.69
Blush
#DE5D83
ΔE00 4.31
Rose (survey)
#CF6275
ΔE00 5.96
Dark Pink
#CB416B
ΔE00 5.98
Deep Rose
#C74767
ΔE00 6.43
Pinkish
#D46A7E
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5981 #59CBA3
analogous
#CB59BA #CB5981 #CB6A59
triadic
#CB5981 #81CB59 #5981CB
tetradic
#CB5981 #BACB59 #59CBA3 #6A59CB
square
#CB5981 #BACB59 #59CBA3 #6A59CB
split-complementary
#CB5981 #59CB6A #59BACB
monochromatic
#812848 #B03761 #CB5981 #DA88A4 #E8B6C8
Accessibility & contrast
On white
3.97
#CB5981 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#CB5981 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5981
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5981 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5981 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C7282
Deuteranopia (green-blind)
#8A887E
Tritanopia (blue-blind)
#DA4F68
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cb5981; /* rgb */ color: rgb(203, 89, 129); /* oklch */ color: oklch(61.8% 0.150 0.5);
Tailwind
colors: {
custom: {
50: '#de8ca5',
500: '#cb5981',
950: '#000000',
},
}SCSS
$custom: #cb5981; $custom-light: #de8ca5; $custom-dark: #000000;
JSON
{
"hex": "#cb5981",
"rgb": {
"r": 203,
"g": 89,
"b": 129
},
"hsl": {
"h": 338.947,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.61787,
"c": 0.14995,
"h": 0.5
},
"luminance": 0.21426
}Semantic roles & 50–950 ramp
primary
#CB5981
secondary
#A9D7C7
accent
#DCA94C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F