#DC417A#DC417A
#DC417A is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.195 H 2.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #DC417A |
|---|---|
| RGB | rgb(220, 65, 122) |
| HSL | hsl(338, 69%, 56%) |
| HSV | hsv(338, 70%, 86%) |
| CMYK | cmyk(0%, 70.5%, 44.5%, 13.7%) |
| CIE-LAB | lab(52.29, 63.75, 3.10) |
| CIE-LCH | lch(52.29, 63.82, 2.79°) |
| OKLab | oklab(61.42% 0.1952 0.0087) |
| OKLCH | oklch(61.42% 0.195 2.5) |
| XYZ | xyz(34.9210, 20.4059, 20.5084) |
| Luminance | 0.2040 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 0.87
Dark Pink
#CB416B
ΔE00 4.25
Cherry
#DE3163
ΔE00 5.37
Blush
#DE5D83
ΔE00 5.39
Rose
#FF007F
ΔE00 5.40
Deep Rose
#C74767
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC417A #41DCA3
analogous
#DC41C8 #DC417A #DC5541
triadic
#DC417A #7ADC41 #417ADC
tetradic
#DC417A #C8DC41 #41DCA3 #5541DC
square
#DC417A #C8DC41 #41DCA3 #5541DC
split-complementary
#DC417A #41DC55 #41C8DC
monochromatic
#891942 #BD235C #DC417A #E6759E #EFA8C2
Accessibility & contrast
On white
4.13
#DC417A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#DC417A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #DC417A
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC417A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC417A | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636A7B
Deuteranopia (green-blind)
#8C8876
Tritanopia (blue-blind)
#EF2959
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #dc417a; /* rgb */ color: rgb(220, 65, 122); /* oklch */ color: oklch(61.4% 0.195 2.5);
Tailwind
colors: {
custom: {
50: '#ec81a0',
500: '#dc417a',
950: '#000000',
},
}SCSS
$custom: #dc417a; $custom-light: #ec81a0; $custom-dark: #000000;
JSON
{
"hex": "#dc417a",
"rgb": {
"r": 220,
"g": 65,
"b": 122
},
"hsl": {
"h": 337.935,
"s": 68.889,
"l": 55.882
},
"oklch": {
"l": 0.61417,
"c": 0.19536,
"h": 2.5
},
"luminance": 0.20401
}Semantic roles & 50–950 ramp
primary
#DC417A
secondary
#9CDDC5
accent
#ECAB3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E