#CB5199#CB5199
#CB5199 is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.173 H 346.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5199 |
|---|---|
| RGB | rgb(203, 81, 153) |
| HSL | hsl(325, 54%, 56%) |
| HSV | hsv(325, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 24.6%, 20.4%) |
| CIE-LAB | lab(52.82, 55.91, -14.87) |
| CIE-LCH | lch(52.82, 57.86, 345.10°) |
| OKLab | oklab(61.6% 0.1686 -0.0392) |
| OKLCH | oklch(61.6% 0.173 346.9) |
| XYZ | xyz(33.3220, 20.8844, 32.4070) |
| Luminance | 0.2088 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.53
Pale Magenta
#D767AD
ΔE00 6.09
Darkish Pink
#DA467D
ΔE00 7.70
Pinky Purple
#C94CBE
ΔE00 7.94
Shocking Pink
#FE02A2
ΔE00 8.06
Neon Pink
#FE019A
ΔE00 8.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5199 #51CB83
analogous
#C051CB #CB5199 #CB515C
triadic
#CB5199 #99CB51 #5199CB
tetradic
#CB5199 #CBC051 #51CB83 #515CCB
square
#CB5199 #CBC051 #51CB83 #515CCB
split-complementary
#CB5199 #5CCB51 #51CBC0
monochromatic
#7C2559 #AC337A #CB5199 #D980B5 #E7AFD0
Accessibility & contrast
On white
4.06
#CB5199 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CB5199 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5199
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5199 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5199 | 1.00 | 4.06 | 5.18 | 5.18 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E719B
Deuteranopia (green-blind)
#808696
Tritanopia (blue-blind)
#D84E6E
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb5199; /* rgb */ color: rgb(203, 81, 153); /* oklch */ color: oklch(61.6% 0.173 346.9);
Tailwind
colors: {
custom: {
50: '#de88b7',
500: '#cb5199',
950: '#000000',
},
}SCSS
$custom: #cb5199; $custom-light: #de88b7; $custom-dark: #000000;
JSON
{
"hex": "#cb5199",
"rgb": {
"r": 203,
"g": 81,
"b": 153
},
"hsl": {
"h": 324.59,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.61601,
"c": 0.17312,
"h": 346.9
},
"luminance": 0.20881
}Semantic roles & 50–950 ramp
primary
#CB5199
secondary
#A3D5B7
accent
#DD874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80