#CB5786#CB5786
#CB5786 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 61.7% C 0.155 H 357.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5786 |
|---|---|
| RGB | rgb(203, 87, 134) |
| HSL | hsl(336, 53%, 57%) |
| HSV | hsv(336, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 34%, 20.4%) |
| CIE-LAB | lab(53.21, 50.76, -3.05) |
| CIE-LCH | lch(53.21, 50.85, 356.56°) |
| OKLab | oklab(61.68% 0.1546 -0.0074) |
| OKLCH | oklch(61.68% 0.155 357.3) |
| XYZ | xyz(32.3415, 21.2374, 24.9456) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.90
Blush
#DE5D83
ΔE00 5.36
Dark Pink
#CB416B
ΔE00 6.70
Palevioletred
#DB7093
ΔE00 7.18
Deep Rose
#C74767
ΔE00 7.50
Rose (survey)
#CF6275
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5786 #57CB9C
analogous
#CB57C0 #CB5786 #CB6257
triadic
#CB5786 #86CB57 #5786CB
tetradic
#CB5786 #C0CB57 #57CB9C #6257CB
square
#CB5786 #C0CB57 #57CB9C #6257CB
split-complementary
#CB5786 #57CB62 #57C0CB
monochromatic
#80284B #AF3667 #CB5786 #D986A8 #E8B4C9
Accessibility & contrast
On white
4.00
#CB5786 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#CB5786 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5786
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5786 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5786 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#697287
Deuteranopia (green-blind)
#888783
Tritanopia (blue-blind)
#DA4E69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb5786; /* rgb */ color: rgb(203, 87, 134); /* oklch */ color: oklch(61.7% 0.155 357.3);
Tailwind
colors: {
custom: {
50: '#de8ba9',
500: '#cb5786',
950: '#000000',
},
}SCSS
$custom: #cb5786; $custom-light: #de8ba9; $custom-dark: #000000;
JSON
{
"hex": "#cb5786",
"rgb": {
"r": 203,
"g": 87,
"b": 134
},
"hsl": {
"h": 335.69,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.6168,
"c": 0.15476,
"h": 357.3
},
"luminance": 0.21234
}Semantic roles & 50–950 ramp
primary
#CB5786
secondary
#A7D7C3
accent
#DCA24C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F