#CB5187#CB5187
#CB5187 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.164 H 355.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5187 |
|---|---|
| RGB | rgb(203, 81, 135) |
| HSL | hsl(333, 54%, 56%) |
| HSV | hsv(333, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 33.5%, 20.4%) |
| CIE-LAB | lab(52.21, 53.62, -5.12) |
| CIE-LCH | lch(52.21, 53.86, 354.55°) |
| OKLab | oklab(60.95% 0.1634 -0.0128) |
| OKLCH | oklch(60.95% 0.164 355.5) |
| XYZ | xyz(31.9459, 20.3340, 25.1594) |
| Luminance | 0.2033 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.99
Blush
#DE5D83
ΔE00 6.63
Dark Pink
#CB416B
ΔE00 6.70
Deep Rose
#C74767
ΔE00 7.81
Purplish Pink
#CE5DAE
ΔE00 8.35
Deeppink
#FF1493
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5187 #51CB95
analogous
#CB51C4 #CB5187 #CB5851
triadic
#CB5187 #87CB51 #5187CB
tetradic
#CB5187 #C4CB51 #51CB95 #5851CB
square
#CB5187 #C4CB51 #51CB95 #5851CB
split-complementary
#CB5187 #51CB58 #51C4CB
monochromatic
#7C254C #AC3368 #CB5187 #D980A7 #E7AFC8
Accessibility & contrast
On white
4.15
#CB5187 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#CB5187 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5187
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5187 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5187 | 1.00 | 4.15 | 5.07 | 5.07 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646E89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DA4866
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb5187; /* rgb */ color: rgb(203, 81, 135); /* oklch */ color: oklch(60.9% 0.164 355.5);
Tailwind
colors: {
custom: {
50: '#df88a9',
500: '#cb5187',
950: '#000000',
},
}SCSS
$custom: #cb5187; $custom-light: #df88a9; $custom-dark: #000000;
JSON
{
"hex": "#cb5187",
"rgb": {
"r": 203,
"g": 81,
"b": 135
},
"hsl": {
"h": 333.443,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.60948,
"c": 0.16393,
"h": 355.5
},
"luminance": 0.20331
}Semantic roles & 50–950 ramp
primary
#CB5187
secondary
#A3D5BF
accent
#DD9C4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F