#CB519E#CB519E
#CB519E is a mid, vivid pink. Relative luminance 0.210; OKLCH L 61.8% C 0.176 H 344.7°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CB519E |
|---|---|
| RGB | rgb(203, 81, 158) |
| HSL | hsl(322, 54%, 56%) |
| HSV | hsv(322, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 22.2%, 20.4%) |
| CIE-LAB | lab(53.01, 56.60, -17.54) |
| CIE-LCH | lch(53.01, 59.25, 342.78°) |
| OKLab | oklab(61.8% 0.1699 -0.0466) |
| OKLCH | oklch(61.8% 0.176 344.7) |
| XYZ | xyz(33.7436, 21.0531, 34.6276) |
| Luminance | 0.2105 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.70
Pale Magenta
#D767AD
ΔE00 5.85
Pinky Purple
#C94CBE
ΔE00 6.84
Purpley Pink
#C83CB9
ΔE00 7.43
Purpleish Pink
#DF4EC8
ΔE00 7.65
Bright Pink
#FE01B1
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB519E #51CB7E
analogous
#BB51CB #CB519E #CB5161
triadic
#CB519E #9ECB51 #519ECB
tetradic
#CB519E #CBBB51 #51CB7E #5161CB
square
#CB519E #CBBB51 #51CB7E #5161CB
split-complementary
#CB519E #61CB51 #51CBBB
monochromatic
#7C255C #AC337F #CB519E #D980B8 #E7AFD3
Accessibility & contrast
On white
4.03
#CB519E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#CB519E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB519E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB519E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB519E | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C72A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D75071
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cb519e; /* rgb */ color: rgb(203, 81, 158); /* oklch */ color: oklch(61.8% 0.176 344.7);
Tailwind
colors: {
custom: {
50: '#de88ba',
500: '#cb519e',
950: '#000000',
},
}SCSS
$custom: #cb519e; $custom-light: #de88ba; $custom-dark: #000000;
JSON
{
"hex": "#cb519e",
"rgb": {
"r": 203,
"g": 81,
"b": 158
},
"hsl": {
"h": 322.131,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.61798,
"c": 0.17614,
"h": 344.7
},
"luminance": 0.2105
}Semantic roles & 50–950 ramp
primary
#CB519E
secondary
#A3D5B5
accent
#DD814A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80