#DC517B#DC517B
#DC517B is a light, vivid pink. Relative luminance 0.225; OKLCH L 63.1% C 0.176 H 5.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #DC517B |
|---|---|
| RGB | rgb(220, 81, 123) |
| HSL | hsl(342, 67%, 59%) |
| HSV | hsv(342, 63%, 86%) |
| CMYK | cmyk(0%, 63.2%, 44.1%, 13.7%) |
| CIE-LAB | lab(54.59, 57.61, 5.81) |
| CIE-LCH | lch(54.59, 57.91, 5.76°) |
| OKLab | oklab(63.13% 0.1757 0.0156) |
| OKLCH | oklch(63.13% 0.176 5.1) |
| XYZ | xyz(36.0354, 22.5349, 21.1871) |
| Luminance | 0.2253 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Blush
#DE5D83
ΔE00 2.60
Darkish Pink
#DA467D
ΔE00 2.88
Rose (survey)
#CF6275
ΔE00 4.92
Dark Pink
#CB416B
ΔE00 5.63
Pinkish
#D46A7E
ΔE00 5.65
Deep Rose
#C74767
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC517B #51DCB2
analogous
#DC51C0 #DC517B #DC6D51
triadic
#DC517B #7BDC51 #517BDC
tetradic
#DC517B #C0DC51 #51DCB2 #6D51DC
square
#DC517B #C0DC51 #51DCB2 #6D51DC
split-complementary
#DC517B #51DC6D #51C0DC
monochromatic
#951E42 #C82858 #DC517B #E684A2 #F0B7C8
Accessibility & contrast
On white
3.81
#DC517B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.51
#DC517B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC517B
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC517B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC517B | 1.00 | 3.81 | 5.51 | 5.51 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E717C
Deuteranopia (green-blind)
#928D78
Tritanopia (blue-blind)
#EE3F61
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #dc517b; /* rgb */ color: rgb(220, 81, 123); /* oklch */ color: oklch(63.1% 0.176 5.1);
Tailwind
colors: {
custom: {
50: '#ec89a1',
500: '#dc517b',
950: '#000000',
},
}SCSS
$custom: #dc517b; $custom-light: #ec89a1; $custom-dark: #000000;
JSON
{
"hex": "#dc517b",
"rgb": {
"r": 220,
"g": 81,
"b": 123
},
"hsl": {
"h": 341.871,
"s": 66.507,
"l": 59.02
},
"oklch": {
"l": 0.63129,
"c": 0.1764,
"h": 5.1
},
"luminance": 0.22531
}Semantic roles & 50–950 ramp
primary
#DC517B
secondary
#A9E0CF
accent
#E9B63E
background
#FFF8F9
surface
#FEF0F2
border
#D6CBCC
text
#170C0E
muted
#857D7E