#CB5789#CB5789
#CB5789 is a mid, vivid pink. Relative luminance 0.213; OKLCH L 61.8% C 0.156 H 355.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5789 |
|---|---|
| RGB | rgb(203, 87, 137) |
| HSL | hsl(334, 53%, 57%) |
| HSV | hsv(334, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 32.5%, 20.4%) |
| CIE-LAB | lab(53.30, 51.12, -4.70) |
| CIE-LCH | lch(53.30, 51.34, 354.75°) |
| OKLab | oklab(61.78% 0.1556 -0.0117) |
| OKLCH | oklch(61.78% 0.156 355.7) |
| XYZ | xyz(32.5537, 21.3223, 26.0633) |
| Luminance | 0.2132 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.36
Blush
#DE5D83
ΔE00 5.87
Dark Pink
#CB416B
ΔE00 7.31
Palevioletred
#DB7093
ΔE00 7.35
Pale Magenta
#D767AD
ΔE00 7.73
Purplish Pink
#CE5DAE
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5789 #57CB99
analogous
#CB57C3 #CB5789 #CB5F57
triadic
#CB5789 #89CB57 #5789CB
tetradic
#CB5789 #C3CB57 #57CB99 #5F57CB
square
#CB5789 #C3CB57 #57CB99 #5F57CB
split-complementary
#CB5789 #57CB5F #57C3CB
monochromatic
#80284E #AF366A #CB5789 #D986AA #E8B4CB
Accessibility & contrast
On white
3.99
#CB5789 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#CB5789 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5789
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5789 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5789 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#888786
Tritanopia (blue-blind)
#DA4F6A
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb5789; /* rgb */ color: rgb(203, 87, 137); /* oklch */ color: oklch(61.8% 0.156 355.7);
Tailwind
colors: {
custom: {
50: '#de8bab',
500: '#cb5789',
950: '#000000',
},
}SCSS
$custom: #cb5789; $custom-light: #de8bab; $custom-dark: #000000;
JSON
{
"hex": "#cb5789",
"rgb": {
"r": 203,
"g": 87,
"b": 137
},
"hsl": {
"h": 334.138,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.61779,
"c": 0.156,
"h": 355.7
},
"luminance": 0.21319
}Semantic roles & 50–950 ramp
primary
#CB5789
secondary
#A7D7C2
accent
#DC9E4C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F