#CB5186#CB5186
#CB5186 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 60.9% C 0.164 H 356.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5186 |
|---|---|
| RGB | rgb(203, 81, 134) |
| HSL | hsl(334, 54%, 56%) |
| HSV | hsv(334, 60%, 80%) |
| CMYK | cmyk(0%, 60.1%, 34%, 20.4%) |
| CIE-LAB | lab(52.18, 53.50, -4.57) |
| CIE-LCH | lch(52.18, 53.69, 355.12°) |
| OKLab | oklab(60.92% 0.1631 -0.0114) |
| OKLCH | oklch(60.92% 0.164 356) |
| XYZ | xyz(31.8758, 20.3060, 24.7904) |
| Luminance | 0.2030 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.81
Dark Pink
#CB416B
ΔE00 6.47
Blush
#DE5D83
ΔE00 6.47
Deep Rose
#C74767
ΔE00 7.56
Hot Pink (survey)
#FF028D
ΔE00 8.37
Electric Pink
#FF0490
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5186 #51CB96
analogous
#CB51C3 #CB5186 #CB5951
triadic
#CB5186 #86CB51 #5186CB
tetradic
#CB5186 #C3CB51 #51CB96 #5951CB
square
#CB5186 #C3CB51 #51CB96 #5951CB
split-complementary
#CB5186 #51CB59 #51C3CB
monochromatic
#7C254B #AC3368 #CB5186 #D980A7 #E7AFC8
Accessibility & contrast
On white
4.15
#CB5186 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#CB5186 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5186
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5186 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5186 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646E88
Deuteranopia (green-blind)
#858583
Tritanopia (blue-blind)
#DA4866
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #cb5186; /* rgb */ color: rgb(203, 81, 134); /* oklch */ color: oklch(60.9% 0.164 356.0);
Tailwind
colors: {
custom: {
50: '#df88a9',
500: '#cb5186',
950: '#000000',
},
}SCSS
$custom: #cb5186; $custom-light: #df88a9; $custom-dark: #000000;
JSON
{
"hex": "#cb5186",
"rgb": {
"r": 203,
"g": 81,
"b": 134
},
"hsl": {
"h": 333.934,
"s": 53.982,
"l": 55.686
},
"oklch": {
"l": 0.60915,
"c": 0.1635,
"h": 356
},
"luminance": 0.20303
}Semantic roles & 50–950 ramp
primary
#CB5186
secondary
#A3D5BF
accent
#DD9E4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F