#DC417C#DC417C

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

Color values

HEX#DC417C
RGBrgb(220, 65, 124)
HSLhsl(337, 69%, 56%)
HSVhsv(337, 70%, 86%)
CMYKcmyk(0%, 70.5%, 43.6%, 13.7%)
CIE-LABlab(52.35, 63.93, 1.98)
CIE-LCHlch(52.35, 63.96, 1.78°)
OKLaboklab(61.48% 0.1959 0.0058)
OKLCHoklch(61.48% 0.196 1.7)
XYZxyz(35.0462, 20.4559, 21.1677)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC417C #41DCA1
analogous
#DC41CA #DC417C #DC5341
triadic
#DC417C #7CDC41 #417CDC
tetradic
#DC417C #CADC41 #41DCA1 #5341DC
square
#DC417C #CADC41 #41DCA1 #5341DC
split-complementary
#DC417C #41DC53 #41CADC
monochromatic
#891944 #BD235D #DC417C #E675A0 #EFA8C3

Accessibility & contrast

On white

4.13
#DC417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#DC417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC417C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC417C#FFFFFF#000000##000000
##DC417C1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7D
Deuteranopia (green-blind)
#8C8878
Tritanopia (blue-blind)
#EE2A5A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc417c;
/* rgb */ color: rgb(220, 65, 124);
/* oklch */ color: oklch(61.5% 0.196 1.7);
Tailwind
colors: {
  custom: {
    50: '#ec81a1',
    500: '#dc417c',
    950: '#000000',
  },
}
SCSS
$custom: #dc417c;
$custom-light: #ec81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc417c",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 337.161,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61477,
    "c": 0.19594,
    "h": 1.7
  },
  "luminance": 0.20451
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC417C

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

Preview Lab → · Contrast checker → · Palette generator →

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