#CB5982#CB5982
#CB5982 is a mid, vivid pink. Relative luminance 0.215; OKLCH L 61.8% C 0.150 H 359.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5982 |
|---|---|
| RGB | rgb(203, 89, 130) |
| HSL | hsl(338, 52%, 57%) |
| HSV | hsv(338, 56%, 80%) |
| CMYK | cmyk(0%, 56.2%, 36%, 20.4%) |
| CIE-LAB | lab(53.45, 49.34, -0.33) |
| CIE-LCH | lch(53.45, 49.34, 359.61°) |
| OKLab | oklab(61.82% 0.1503 -0.0002) |
| OKLCH | oklch(61.82% 0.15 359.9) |
| XYZ | xyz(32.2320, 21.4563, 23.5588) |
| Luminance | 0.2145 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.72
Blush
#DE5D83
ΔE00 4.43
Dark Pink
#CB416B
ΔE00 6.14
Rose (survey)
#CF6275
ΔE00 6.22
Deep Rose
#C74767
ΔE00 6.65
Palevioletred
#DB7093
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5982 #59CBA2
analogous
#CB59BB #CB5982 #CB6959
triadic
#CB5982 #82CB59 #5982CB
tetradic
#CB5982 #BBCB59 #59CBA2 #6959CB
square
#CB5982 #BBCB59 #59CBA2 #6959CB
split-complementary
#CB5982 #59CB69 #59BBCB
monochromatic
#812848 #B03762 #CB5982 #DA88A5 #E8B6C8
Accessibility & contrast
On white
3.97
#CB5982 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#CB5982 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5982
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5982 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5982 | 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)
#6C7283
Deuteranopia (green-blind)
#8A887F
Tritanopia (blue-blind)
#DA4F68
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cb5982; /* rgb */ color: rgb(203, 89, 130); /* oklch */ color: oklch(61.8% 0.150 359.9);
Tailwind
colors: {
custom: {
50: '#de8ca6',
500: '#cb5982',
950: '#000000',
},
}SCSS
$custom: #cb5982; $custom-light: #de8ca6; $custom-dark: #000000;
JSON
{
"hex": "#cb5982",
"rgb": {
"r": 203,
"g": 89,
"b": 130
},
"hsl": {
"h": 338.421,
"s": 52.294,
"l": 57.255
},
"oklch": {
"l": 0.61818,
"c": 0.1503,
"h": 359.9
},
"luminance": 0.21453
}Semantic roles & 50–950 ramp
primary
#CB5982
secondary
#A9D7C6
accent
#DCA84C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F