#DC418B#DC418B

#DC418B is a mid, highly saturated pink. Relative luminance 0.209; OKLCH L 62.0% C 0.201 H 355.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#DC418B
RGBrgb(220, 65, 139)
HSLhsl(331, 69%, 56%)
HSVhsv(331, 70%, 86%)
CMYKcmyk(0%, 70.5%, 36.8%, 13.7%)
CIE-LABlab(52.80, 65.44, -6.32)
CIE-LCHlch(52.80, 65.74, 354.48°)
OKLaboklab(61.96% 0.2006 -0.0158)
OKLCHoklch(61.96% 0.201 355.5)
XYZxyz(36.0680, 20.8646, 26.5490)
Luminance0.2086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC418B #41DC92
analogous
#DC41D8 #DC418B #DC4441
triadic
#DC418B #8BDC41 #418BDC
tetradic
#DC418B #D8DC41 #41DC92 #4441DC
square
#DC418B #D8DC41 #41DC92 #4441DC
split-complementary
#DC418B #41DC44 #41D8DC
monochromatic
#89194F #BD236C #DC418B #E675AB #EFA8CA

Accessibility & contrast

On white

4.06
#DC418B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#DC418B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DC418B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC418B#FFFFFF#000000##000000
##DC418B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6C8D
Deuteranopia (green-blind)
#898987
Tritanopia (blue-blind)
#ED3161
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #dc418b;
/* rgb */ color: rgb(220, 65, 139);
/* oklch */ color: oklch(62.0% 0.201 355.5);
Tailwind
colors: {
  custom: {
    50: '#ec81ac',
    500: '#dc418b',
    950: '#000000',
  },
}
SCSS
$custom: #dc418b;
$custom-light: #ec81ac;
$custom-dark: #000000;
JSON
{
  "hex": "#dc418b",
  "rgb": {
    "r": 220,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 331.355,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.20121,
    "h": 355.5
  },
  "luminance": 0.2086
}

Semantic roles & 50–950 ramp

primary
#DC418B
secondary
#9CDDBE
accent
#EC983C
background
#FFF8FA
surface
#FEF0F4
border
#D6CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #DC418B

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

Preview Lab → · Contrast checker → · Palette generator →

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