#D8538C#D8538C
#D8538C is a light, vivid pink. Relative luminance 0.227; OKLCH L 63.3% C 0.175 H 356.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #D8538C |
|---|---|
| RGB | rgb(216, 83, 140) |
| HSL | hsl(334, 63%, 59%) |
| HSV | hsv(334, 62%, 85%) |
| CMYK | cmyk(0%, 61.6%, 35.2%, 15.3%) |
| CIE-LAB | lab(54.74, 57.33, -4.11) |
| CIE-LCH | lch(54.74, 57.47, 355.90°) |
| OKLab | oklab(63.28% 0.175 -0.0101) |
| OKLCH | oklch(63.28% 0.175 356.7) |
| XYZ | xyz(36.1478, 22.6828, 27.2804) |
| Luminance | 0.2268 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.57
Blush
#DE5D83
ΔE00 4.84
Medium Pink
#F36196
ΔE00 6.51
Deeppink
#FF1493
ΔE00 6.59
Palevioletred
#DB7093
ΔE00 6.72
Electric Pink
#FF0490
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8538C #53D89F
analogous
#D853CE #D8538C #D85C53
triadic
#D8538C #8CD853 #538CD8
tetradic
#D8538C #CED853 #53D89F #5C53D8
square
#D8538C #CED853 #53D89F #5C53D8
split-complementary
#D8538C #53D85C #53CED8
monochromatic
#902150 #C22C6C #D8538C #E385AD #EFB7CF
Accessibility & contrast
On white
3.79
#D8538C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#D8538C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8538C
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8538C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8538C | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69738E
Deuteranopia (green-blind)
#8D8C89
Tritanopia (blue-blind)
#E8486A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #d8538c; /* rgb */ color: rgb(216, 83, 140); /* oklch */ color: oklch(63.3% 0.175 356.7);
Tailwind
colors: {
custom: {
50: '#e88aad',
500: '#d8538c',
950: '#000000',
},
}SCSS
$custom: #d8538c; $custom-light: #e88aad; $custom-dark: #000000;
JSON
{
"hex": "#d8538c",
"rgb": {
"r": 216,
"g": 83,
"b": 140
},
"hsl": {
"h": 334.286,
"s": 63.033,
"l": 58.627
},
"oklch": {
"l": 0.63278,
"c": 0.17529,
"h": 356.7
},
"luminance": 0.22679
}Semantic roles & 50–950 ramp
primary
#D8538C
secondary
#A9DEC7
accent
#E6A042
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170C10
muted
#857D7F