#CB5791#CB5791
#CB5791 is a light, vivid pink. Relative luminance 0.216; OKLCH L 62.1% C 0.160 H 351.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5791 |
|---|---|
| RGB | rgb(203, 87, 145) |
| HSL | hsl(330, 53%, 57%) |
| HSV | hsv(330, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 28.6%, 20.4%) |
| CIE-LAB | lab(53.56, 52.13, -9.05) |
| CIE-LCH | lch(53.56, 52.91, 350.16°) |
| OKLab | oklab(62.06% 0.1581 -0.0234) |
| OKLCH | oklch(62.06% 0.16 351.6) |
| XYZ | xyz(33.1490, 21.5604, 29.1984) |
| Luminance | 0.2156 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 5.86
Purplish Pink
#CE5DAE
ΔE00 6.14
Pale Magenta
#D767AD
ΔE00 6.25
Blush
#DE5D83
ΔE00 7.40
Palevioletred
#DB7093
ΔE00 8.11
Barbie Pink
#FE46A5
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5791 #57CB91
analogous
#CB57CB #CB5791 #CB5757
triadic
#CB5791 #91CB57 #5791CB
tetradic
#CB5791 #CBCB57 #57CB91 #5757CB
square
#CB5791 #CBCB57 #57CB91 #5757CB
split-complementary
#CB5791 #57CB57 #57CBCB
monochromatic
#802854 #AF3672 #CB5791 #D986B0 #E8B4CE
Accessibility & contrast
On white
3.95
#CB5791 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#CB5791 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5791
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5791 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5791 | 1.00 | 3.95 | 5.31 | 5.31 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#667393
Deuteranopia (green-blind)
#86888E
Tritanopia (blue-blind)
#D9526E
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #cb5791; /* rgb */ color: rgb(203, 87, 145); /* oklch */ color: oklch(62.1% 0.160 351.6);
Tailwind
colors: {
custom: {
50: '#de8bb1',
500: '#cb5791',
950: '#000000',
},
}SCSS
$custom: #cb5791; $custom-light: #de8bb1; $custom-dark: #000000;
JSON
{
"hex": "#cb5791",
"rgb": {
"r": 203,
"g": 87,
"b": 145
},
"hsl": {
"h": 330,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.62055,
"c": 0.15977,
"h": 351.6
},
"luminance": 0.21557
}Semantic roles & 50–950 ramp
primary
#CB5791
secondary
#A7D7BF
accent
#DC944C
background
#FEF8FA
surface
#FCF0F5
border
#D5CBCF
text
#160C10
muted
#847D7F