#CB509E#CB509E
#CB509E is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.7% C 0.178 H 344.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CB509E |
|---|---|
| RGB | rgb(203, 80, 158) |
| HSL | hsl(322, 54%, 55%) |
| HSV | hsv(322, 61%, 80%) |
| CMYK | cmyk(0%, 60.6%, 22.2%, 20.4%) |
| CIE-LAB | lab(52.85, 57.03, -17.78) |
| CIE-LCH | lch(52.85, 59.74, 342.68°) |
| OKLab | oklab(61.68% 0.1712 -0.0472) |
| OKLCH | oklch(61.68% 0.178 344.6) |
| XYZ | xyz(33.6699, 20.9056, 34.6030) |
| Luminance | 0.2090 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 3.81
Pale Magenta
#D767AD
ΔE00 6.03
Pinky Purple
#C94CBE
ΔE00 6.76
Purpley Pink
#C83CB9
ΔE00 7.28
Purpleish Pink
#DF4EC8
ΔE00 7.63
Bright Pink
#FE01B1
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB509E #50CB7D
analogous
#BA50CB #CB509E #CB5060
triadic
#CB509E #9ECB50 #509ECB
tetradic
#CB509E #CBBA50 #50CB7D #5060CB
square
#CB509E #CBBA50 #50CB7D #5060CB
split-complementary
#CB509E #60CB50 #50CBBA
monochromatic
#7C255C #AB337F #CB509E #D97FB8 #E7AED2
Accessibility & contrast
On white
4.05
#CB509E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#CB509E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB509E
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB509E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB509E | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 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)
#5B71A0
Deuteranopia (green-blind)
#7F869B
Tritanopia (blue-blind)
#D74F70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cb509e; /* rgb */ color: rgb(203, 80, 158); /* oklch */ color: oklch(61.7% 0.178 344.6);
Tailwind
colors: {
custom: {
50: '#de88ba',
500: '#cb509e',
950: '#000000',
},
}SCSS
$custom: #cb509e; $custom-light: #de88ba; $custom-dark: #000000;
JSON
{
"hex": "#cb509e",
"rgb": {
"r": 203,
"g": 80,
"b": 158
},
"hsl": {
"h": 321.951,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.61679,
"c": 0.1776,
"h": 344.6
},
"luminance": 0.20902
}Semantic roles & 50–950 ramp
primary
#CB509E
secondary
#A2D5B5
accent
#DE804A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80