#CB507D#CB507D
#CB507D is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.162 H 0.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #CB507D |
|---|---|
| RGB | rgb(203, 80, 125) |
| HSL | hsl(338, 54%, 55%) |
| HSV | hsv(338, 61%, 80%) |
| CMYK | cmyk(0%, 60.6%, 38.4%, 20.4%) |
| CIE-LAB | lab(51.74, 52.91, 0.16) |
| CIE-LCH | lch(51.74, 52.91, 0.17°) |
| OKLab | oklab(60.5% 0.1615 0.0011) |
| OKLCH | oklch(60.5% 0.162 0.4) |
| XYZ | xyz(31.2008, 19.9180, 21.5995) |
| Luminance | 0.1991 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.71
Dark Pink
#CB416B
ΔE00 4.46
Deep Rose
#C74767
ΔE00 5.37
Blush
#DE5D83
ΔE00 5.57
Rose (survey)
#CF6275
ΔE00 7.03
Cherry
#DE3163
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB507D #50CB9E
analogous
#CB50BA #CB507D #CB6050
triadic
#CB507D #7DCB50 #507DCB
tetradic
#CB507D #BACB50 #50CB9E #6050CB
square
#CB507D #BACB50 #50CB9E #6050CB
split-complementary
#CB507D #50CB60 #50BACB
monochromatic
#7C2545 #AB335F #CB507D #D97FA0 #E7AEC3
Accessibility & contrast
On white
4.21
#CB507D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#CB507D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB507D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB507D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB507D | 1.00 | 4.21 | 4.98 | 4.98 |
| #FFFFFF | 4.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666D7E
Deuteranopia (green-blind)
#87847A
Tritanopia (blue-blind)
#DB4461
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb507d; /* rgb */ color: rgb(203, 80, 125); /* oklch */ color: oklch(60.5% 0.162 0.4);
Tailwind
colors: {
custom: {
50: '#df87a2',
500: '#cb507d',
950: '#000000',
},
}SCSS
$custom: #cb507d; $custom-light: #df87a2; $custom-dark: #000000;
JSON
{
"hex": "#cb507d",
"rgb": {
"r": 203,
"g": 80,
"b": 125
},
"hsl": {
"h": 338.049,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.605,
"c": 0.16152,
"h": 0.4
},
"luminance": 0.19915
}Semantic roles & 50–950 ramp
primary
#CB507D
secondary
#A2D5C2
accent
#DEA84A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E