#DC417B#DC417B

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

Color values

HEX#DC417B
RGBrgb(220, 65, 123)
HSLhsl(338, 69%, 56%)
HSVhsv(338, 70%, 86%)
CMYKcmyk(0%, 70.5%, 44.1%, 13.7%)
CIE-LABlab(52.32, 63.84, 2.54)
CIE-LCHlch(52.32, 63.89, 2.28°)
OKLaboklab(61.45% 0.1955 0.0073)
OKLCHoklch(61.45% 0.196 2.1)
XYZxyz(34.9833, 20.4308, 20.8364)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC417B #41DCA2
analogous
#DC41C9 #DC417B #DC5441
triadic
#DC417B #7BDC41 #417BDC
tetradic
#DC417B #C9DC41 #41DCA2 #5441DC
square
#DC417B #C9DC41 #41DCA2 #5441DC
split-complementary
#DC417B #41DC54 #41C9DC
monochromatic
#891943 #BD235D #DC417B #E6759F #EFA8C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC417B#FFFFFF#000000##000000
##DC417B1.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)
#636A7C
Deuteranopia (green-blind)
#8C8877
Tritanopia (blue-blind)
#EF2959
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #dc417b;
/* rgb */ color: rgb(220, 65, 123);
/* oklch */ color: oklch(61.4% 0.196 2.1);
Tailwind
colors: {
  custom: {
    50: '#ec81a1',
    500: '#dc417b',
    950: '#000000',
  },
}
SCSS
$custom: #dc417b;
$custom-light: #ec81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#dc417b",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 337.548,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.19565,
    "h": 2.1
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#DC417B
secondary
#9CDDC4
accent
#ECAA3C
background
#FFF8F9
surface
#FFEFF2
border
#D7CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #DC417B

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

Preview Lab → · Contrast checker → · Palette generator →

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