#DC417D#DC417D

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

Color values

HEX#DC417D
RGBrgb(220, 65, 125)
HSLhsl(337, 69%, 56%)
HSVhsv(337, 70%, 86%)
CMYKcmyk(0%, 70.5%, 43.2%, 13.7%)
CIE-LABlab(52.38, 64.03, 1.42)
CIE-LCHlch(52.38, 64.04, 1.27°)
OKLaboklab(61.51% 0.1962 0.0044)
OKLCHoklch(61.51% 0.196 1.3)
XYZxyz(35.1098, 20.4814, 21.5025)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC417D #41DCA0
analogous
#DC41CB #DC417D #DC5241
triadic
#DC417D #7DDC41 #417DDC
tetradic
#DC417D #CBDC41 #41DCA0 #5241DC
square
#DC417D #CBDC41 #41DCA0 #5241DC
split-complementary
#DC417D #41DC52 #41CBDC
monochromatic
#891945 #BD235E #DC417D #E675A0 #EFA8C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC417D#FFFFFF#000000##000000
##DC417D1.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)
#626A7E
Deuteranopia (green-blind)
#8C8879
Tritanopia (blue-blind)
#EE2A5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc417d;
/* rgb */ color: rgb(220, 65, 125);
/* oklch */ color: oklch(61.5% 0.196 1.3);
Tailwind
colors: {
  custom: {
    50: '#ec81a2',
    500: '#dc417d',
    950: '#000000',
  },
}
SCSS
$custom: #dc417d;
$custom-light: #ec81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc417d",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 336.774,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.19623,
    "h": 1.3
  },
  "luminance": 0.20477
}

Semantic roles & 50–950 ramp

primary
#DC417D
secondary
#9CDDC4
accent
#ECA83C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #DC417D

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

Preview Lab → · Contrast checker → · Palette generator →

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