#CB5787#CB5787
#CB5787 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.7% C 0.155 H 356.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5787 |
|---|---|
| RGB | rgb(203, 87, 135) |
| HSL | hsl(335, 53%, 57%) |
| HSV | hsv(335, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 33.5%, 20.4%) |
| CIE-LAB | lab(53.24, 50.88, -3.60) |
| CIE-LCH | lch(53.24, 51.00, 355.95°) |
| OKLab | oklab(61.71% 0.1549 -0.0088) |
| OKLCH | oklch(61.71% 0.155 356.7) |
| XYZ | xyz(32.4116, 21.2655, 25.3147) |
| Luminance | 0.2126 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.04
Blush
#DE5D83
ΔE00 5.52
Dark Pink
#CB416B
ΔE00 6.90
Palevioletred
#DB7093
ΔE00 7.23
Deep Rose
#C74767
ΔE00 7.73
Rose (survey)
#CF6275
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5787 #57CB9B
analogous
#CB57C1 #CB5787 #CB6157
triadic
#CB5787 #87CB57 #5787CB
tetradic
#CB5787 #C1CB57 #57CB9B #6157CB
square
#CB5787 #C1CB57 #57CB9B #6157CB
split-complementary
#CB5787 #57CB61 #57C1CB
monochromatic
#80284C #AF3668 #CB5787 #D986A8 #E8B4CA
Accessibility & contrast
On white
4.00
#CB5787 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#CB5787 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5787
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5787 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5787 | 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)
#697288
Deuteranopia (green-blind)
#888784
Tritanopia (blue-blind)
#DA4F69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb5787; /* rgb */ color: rgb(203, 87, 135); /* oklch */ color: oklch(61.7% 0.155 356.7);
Tailwind
colors: {
custom: {
50: '#de8ba9',
500: '#cb5787',
950: '#000000',
},
}SCSS
$custom: #cb5787; $custom-light: #de8ba9; $custom-dark: #000000;
JSON
{
"hex": "#cb5787",
"rgb": {
"r": 203,
"g": 87,
"b": 135
},
"hsl": {
"h": 335.172,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.61712,
"c": 0.15516,
"h": 356.7
},
"luminance": 0.21262
}Semantic roles & 50–950 ramp
primary
#CB5787
secondary
#A7D7C3
accent
#DCA04C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F