#CD5286#CD5286
#CD5286 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.3% C 0.164 H 356.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #CD5286 |
|---|---|
| RGB | rgb(205, 82, 134) |
| HSL | hsl(335, 55%, 56%) |
| HSV | hsv(335, 60%, 80%) |
| CMYK | cmyk(0%, 60%, 34.6%, 19.6%) |
| CIE-LAB | lab(52.66, 53.68, -3.83) |
| CIE-LCH | lch(52.66, 53.81, 355.92°) |
| OKLab | oklab(61.33% 0.1637 -0.0094) |
| OKLCH | oklch(61.33% 0.164 356.7) |
| XYZ | xyz(32.4990, 20.7384, 24.8410) |
| Luminance | 0.2074 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.46
Blush
#DE5D83
ΔE00 5.89
Dark Pink
#CB416B
ΔE00 6.43
Deep Rose
#C74767
ΔE00 7.47
Palevioletred
#DB7093
ΔE00 7.99
Strong Pink
#FF0789
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD5286 #52CD99
analogous
#CD52C4 #CD5286 #CD5C52
triadic
#CD5286 #86CD52 #5286CD
tetradic
#CD5286 #C4CD52 #52CD99 #5C52CD
square
#CD5286 #C4CD52 #52CD99 #5C52CD
split-complementary
#CD5286 #52CD5C #52C4CD
monochromatic
#80254B #AF3367 #CD5286 #DB81A7 #E8B1C8
Accessibility & contrast
On white
4.08
#CD5286 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#CD5286 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD5286
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD5286 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD5286 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#666F88
Deuteranopia (green-blind)
#878683
Tritanopia (blue-blind)
#DC4966
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #cd5286; /* rgb */ color: rgb(205, 82, 134); /* oklch */ color: oklch(61.3% 0.164 356.7);
Tailwind
colors: {
custom: {
50: '#e088a9',
500: '#cd5286',
950: '#000000',
},
}SCSS
$custom: #cd5286; $custom-light: #e088a9; $custom-dark: #000000;
JSON
{
"hex": "#cd5286",
"rgb": {
"r": 205,
"g": 82,
"b": 134
},
"hsl": {
"h": 334.634,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.61333,
"c": 0.16397,
"h": 356.7
},
"luminance": 0.20735
}Semantic roles & 50–950 ramp
primary
#CD5286
secondary
#A4D7C1
accent
#DE9F49
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F