#CB5799#CB5799
#CB5799 is a light, vivid pink. Relative luminance 0.218; OKLCH L 62.3% C 0.164 H 347.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5799 |
|---|---|
| RGB | rgb(203, 87, 153) |
| HSL | hsl(326, 53%, 57%) |
| HSV | hsv(326, 57%, 80%) |
| CMYK | cmyk(0%, 57.1%, 24.6%, 20.4%) |
| CIE-LAB | lab(53.83, 53.20, -13.35) |
| CIE-LCH | lch(53.83, 54.85, 345.92°) |
| OKLab | oklab(62.35% 0.1603 -0.0351) |
| OKLCH | oklch(62.35% 0.164 347.7) |
| XYZ | xyz(33.7877, 21.8159, 32.5622) |
| Luminance | 0.2181 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.32
Pale Magenta
#D767AD
ΔE00 5.17
Darkish Pink
#DA467D
ΔE00 7.51
Barbie Pink
#FE46A5
ΔE00 8.41
Shocking Pink
#FE02A2
ΔE00 8.41
Neon Pink
#FE019A
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5799 #57CB89
analogous
#C357CB #CB5799 #CB575F
triadic
#CB5799 #99CB57 #5799CB
tetradic
#CB5799 #CBC357 #57CB89 #575FCB
square
#CB5799 #CBC357 #57CB89 #575FCB
split-complementary
#CB5799 #5FCB57 #57CBC3
monochromatic
#80285A #AF367B #CB5799 #D986B5 #E8B4D2
Accessibility & contrast
On white
3.92
#CB5799 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#CB5799 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5799
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5799 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5799 | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#838896
Tritanopia (blue-blind)
#D85471
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #cb5799; /* rgb */ color: rgb(203, 87, 153); /* oklch */ color: oklch(62.3% 0.164 347.7);
Tailwind
colors: {
custom: {
50: '#de8cb7',
500: '#cb5799',
950: '#000000',
},
}SCSS
$custom: #cb5799; $custom-light: #de8cb7; $custom-dark: #000000;
JSON
{
"hex": "#cb5799",
"rgb": {
"r": 203,
"g": 87,
"b": 153
},
"hsl": {
"h": 325.862,
"s": 52.727,
"l": 56.863
},
"oklch": {
"l": 0.62348,
"c": 0.16413,
"h": 347.7
},
"luminance": 0.21813
}Semantic roles & 50–950 ramp
primary
#CB5799
secondary
#A7D7BC
accent
#DC8A4C
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80