#CB5170#CB5170
#CB5170 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.2% C 0.157 H 7.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5170 |
|---|---|
| RGB | rgb(203, 81, 112) |
| HSL | hsl(345, 54%, 56%) |
| HSV | hsv(345, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 44.8%, 20.4%) |
| CIE-LAB | lab(51.56, 51.10, 7.67) |
| CIE-LCH | lch(51.56, 51.68, 8.54°) |
| OKLab | oklab(60.25% 0.1555 0.0202) |
| OKLCH | oklch(60.25% 0.157 7.4) |
| XYZ | xyz(30.4978, 19.7548, 17.5331) |
| Luminance | 0.1975 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Rose
#C74767
ΔE00 2.72
Dark Pink
#CB416B
ΔE00 3.26
Darkish Pink
#DA467D
ΔE00 4.46
Rose (survey)
#CF6275
ΔE00 4.54
Cherry
#DE3163
ΔE00 5.13
Blush
#DE5D83
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5170 #51CBAC
analogous
#CB51AD #CB5170 #CB6F51
triadic
#CB5170 #70CB51 #5170CB
tetradic
#CB5170 #ADCB51 #51CBAC #6F51CB
square
#CB5170 #ADCB51 #51CBAC #6F51CB
split-complementary
#CB5170 #51CB6F #51ADCB
monochromatic
#7C253B #AC3352 #CB5170 #D98097 #E7AFBD
Accessibility & contrast
On white
4.24
#CB5170 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CB5170 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5170
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5170 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6C71
Deuteranopia (green-blind)
#8A846D
Tritanopia (blue-blind)
#DC425D
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cb5170; /* rgb */ color: rgb(203, 81, 112); /* oklch */ color: oklch(60.2% 0.157 7.4);
Tailwind
colors: {
custom: {
50: '#df8798',
500: '#cb5170',
950: '#000000',
},
}SCSS
$custom: #cb5170; $custom-light: #df8798; $custom-dark: #000000;
JSON
{
"hex": "#cb5170",
"rgb": {
"r": 203,
"g": 81,
"b": 112
},
"hsl": {
"h": 344.754,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.60246,
"c": 0.15675,
"h": 7.4
},
"luminance": 0.19751
}Semantic roles & 50–950 ramp
primary
#CB5170
secondary
#A3D5C8
accent
#DDB84A
background
#FEF8F9
surface
#FDF0F2
border
#D5CBCC
text
#160C0D
muted
#847D7E