#CD538C#CD538C
#CD538C is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.7% C 0.165 H 353.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CD538C |
|---|---|
| RGB | rgb(205, 83, 140) |
| HSL | hsl(332, 55%, 56%) |
| HSV | hsv(332, 60%, 80%) |
| CMYK | cmyk(0%, 59.5%, 31.7%, 19.6%) |
| CIE-LAB | lab(53.02, 53.95, -6.86) |
| CIE-LCH | lch(53.02, 54.38, 352.75°) |
| OKLab | oklab(61.66% 0.1642 -0.0174) |
| OKLCH | oklch(61.66% 0.165 353.9) |
| XYZ | xyz(33.0053, 21.0625, 27.1331) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 4.61
Blush
#DE5D83
ΔE00 6.74
Purplish Pink
#CE5DAE
ΔE00 7.30
Pale Magenta
#D767AD
ΔE00 7.33
Dark Pink
#CB416B
ΔE00 7.76
Deeppink
#FF1493
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD538C #53CD94
analogous
#CD53C9 #CD538C #CD5753
triadic
#CD538C #8CCD53 #538CCD
tetradic
#CD538C #C9CD53 #53CD94 #5753CD
square
#CD538C #C9CD53 #53CD94 #5753CD
split-complementary
#CD538C #53CD57 #53C9CD
monochromatic
#802550 #B0336D #CD538C #DB82AC #E9B2CB
Accessibility & contrast
On white
4.03
#CD538C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#CD538C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CD538C
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD538C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD538C | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65718E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#DC4C69
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cd538c; /* rgb */ color: rgb(205, 83, 140); /* oklch */ color: oklch(61.7% 0.165 353.9);
Tailwind
colors: {
custom: {
50: '#e089ad',
500: '#cd538c',
950: '#000000',
},
}SCSS
$custom: #cd538c; $custom-light: #e089ad; $custom-dark: #000000;
JSON
{
"hex": "#cd538c",
"rgb": {
"r": 205,
"g": 83,
"b": 140
},
"hsl": {
"h": 331.967,
"s": 54.955,
"l": 56.471
},
"oklch": {
"l": 0.6166,
"c": 0.16512,
"h": 353.9
},
"luminance": 0.21059
}Semantic roles & 50–950 ramp
primary
#CD538C
secondary
#A5D7C0
accent
#DE994A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F