#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
RGBrgb(220, 65, 122)
HSLhsl(338, 69%, 56%)
HSVhsv(338, 70%, 86%)
CMYKcmyk(0%, 70.5%, 44.5%, 13.7%)
CIE-LABlab(52.29, 63.75, 3.10)
CIE-LCHlch(52.29, 63.82, 2.79°)
OKLaboklab(61.42% 0.1952 0.0087)
OKLCHoklch(61.42% 0.195 2.5)
XYZxyz(34.9210, 20.4059, 20.5084)
Luminance0.2040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

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
##DC417A1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.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

Preview Lab

Preview with #DC417A

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

Preview Lab → · Contrast checker → · Palette generator →

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