#DC417E#DC417E

#DC417E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.5% C 0.197 H 0.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#DC417E
RGBrgb(220, 65, 126)
HSLhsl(336, 69%, 56%)
HSVhsv(336, 70%, 86%)
CMYKcmyk(0%, 70.5%, 42.7%, 13.7%)
CIE-LABlab(52.41, 64.12, 0.87)
CIE-LCHlch(52.41, 64.13, 0.77°)
OKLaboklab(61.54% 0.1965 0.003)
OKLCHoklch(61.54% 0.197 0.9)
XYZxyz(35.1740, 20.5070, 21.8406)
Luminance0.2050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC417E #41DC9F
analogous
#DC41CB #DC417E #DC5141
triadic
#DC417E #7EDC41 #417EDC
tetradic
#DC417E #CBDC41 #41DC9F #5141DC
square
#DC417E #CBDC41 #41DC9F #5141DC
split-complementary
#DC417E #41DC51 #41CBDC
monochromatic
#891945 #BD235F #DC417E #E675A1 #EFA8C4

Accessibility & contrast

On white

4.12
#DC417E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#DC417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC417E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC417E#FFFFFF#000000##000000
##DC417E1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A80
Deuteranopia (green-blind)
#8C887A
Tritanopia (blue-blind)
#EE2B5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc417e;
/* rgb */ color: rgb(220, 65, 126);
/* oklch */ color: oklch(61.5% 0.197 0.9);
Tailwind
colors: {
  custom: {
    50: '#ec81a3',
    500: '#dc417e',
    950: '#000000',
  },
}
SCSS
$custom: #dc417e;
$custom-light: #ec81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dc417e",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 336.387,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61537,
    "c": 0.19653,
    "h": 0.9
  },
  "luminance": 0.20503
}

Semantic roles & 50–950 ramp

primary
#DC417E
secondary
#9CDDC3
accent
#ECA73C
background
#FFF8FA
surface
#FFEFF3
border
#D7CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #DC417E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#DC417E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva