#CB5286#CB5286
#CB5286 is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.0% C 0.162 H 356.2°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #CB5286 |
|---|---|
| RGB | rgb(203, 82, 134) |
| HSL | hsl(334, 54%, 56%) |
| HSV | hsv(334, 60%, 80%) |
| CMYK | cmyk(0%, 59.6%, 34%, 20.4%) |
| CIE-LAB | lab(52.35, 53.05, -4.32) |
| CIE-LCH | lch(52.35, 53.23, 355.34°) |
| OKLab | oklab(61.04% 0.1617 -0.0107) |
| OKLCH | oklch(61.04% 0.162 356.2) |
| XYZ | xyz(31.9506, 20.4557, 24.8153) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.79
Blush
#DE5D83
ΔE00 6.28
Dark Pink
#CB416B
ΔE00 6.49
Deep Rose
#C74767
ΔE00 7.54
Palevioletred
#DB7093
ΔE00 8.28
Hot Pink (survey)
#FF028D
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB5286 #52CB97
analogous
#CB52C2 #CB5286 #CB5A52
triadic
#CB5286 #86CB52 #5286CB
tetradic
#CB5286 #C2CB52 #52CB97 #5A52CB
square
#CB5286 #C2CB52 #52CB97 #5A52CB
split-complementary
#CB5286 #52CB5A #52C2CB
monochromatic
#7D264B #AC3467 #CB5286 #D981A7 #E7B0C8
Accessibility & contrast
On white
4.13
#CB5286 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#CB5286 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CB5286
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB5286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CB5286 | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#868583
Tritanopia (blue-blind)
#DA4966
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #cb5286; /* rgb */ color: rgb(203, 82, 134); /* oklch */ color: oklch(61.0% 0.162 356.2);
Tailwind
colors: {
custom: {
50: '#df88a9',
500: '#cb5286',
950: '#000000',
},
}SCSS
$custom: #cb5286; $custom-light: #df88a9; $custom-dark: #000000;
JSON
{
"hex": "#cb5286",
"rgb": {
"r": 203,
"g": 82,
"b": 134
},
"hsl": {
"h": 334.215,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.61039,
"c": 0.16206,
"h": 356.2
},
"luminance": 0.20452
}Semantic roles & 50–950 ramp
primary
#CB5286
secondary
#A3D5C0
accent
#DD9E4B
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F