#CB507B#CB507B
#CB507B is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.4% C 0.161 H 1.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CB507B |
|---|---|
| RGB | rgb(203, 80, 123) |
| HSL | hsl(339, 54%, 55%) |
| HSV | hsv(339, 61%, 80%) |
| CMYK | cmyk(0%, 60.6%, 39.4%, 20.4%) |
| CIE-LAB | lab(51.69, 52.69, 1.27) |
| CIE-LCH | lch(51.69, 52.71, 1.38°) |
| OKLab | oklab(60.44% 0.1608 0.0039) |
| OKLCH | oklch(60.44% 0.161 1.4) |
| XYZ | xyz(31.0744, 19.8674, 20.9334) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 2.70
Dark Pink
#CB416B
ΔE00 4.07
Deep Rose
#C74767
ΔE00 4.87
Blush
#DE5D83
ΔE00 5.43
Rose (survey)
#CF6275
ΔE00 6.62
Cherry
#DE3163
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB507B #50CBA0
analogous
#CB50B9 #CB507B #CB6250
triadic
#CB507B #7BCB50 #507BCB
tetradic
#CB507B #B9CB50 #50CBA0 #6250CB
square
#CB507B #B9CB50 #50CBA0 #6250CB
split-complementary
#CB507B #50CB62 #50B9CB
monochromatic
#7C2543 #AB335D #CB507B #D97F9F #E7AEC2
Accessibility & contrast
On white
4.22
#CB507B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#CB507B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB507B
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB507B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB507B | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#676C7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DB4461
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb507b; /* rgb */ color: rgb(203, 80, 123); /* oklch */ color: oklch(60.4% 0.161 1.4);
Tailwind
colors: {
custom: {
50: '#df87a1',
500: '#cb507b',
950: '#000000',
},
}SCSS
$custom: #cb507b; $custom-light: #df87a1; $custom-dark: #000000;
JSON
{
"hex": "#cb507b",
"rgb": {
"r": 203,
"g": 80,
"b": 123
},
"hsl": {
"h": 339.024,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.60439,
"c": 0.16088,
"h": 1.4
},
"luminance": 0.19864
}Semantic roles & 50–950 ramp
primary
#CB507B
secondary
#A2D5C3
accent
#DEAA4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E