#D0417D#D0417D

#D0417D is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.186 H 358.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D0417D
RGBrgb(208, 65, 125)
HSLhsl(335, 60%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.8%, 39.9%, 18.4%)
CIE-LABlab(50.30, 60.61, -1.85)
CIE-LCHlch(50.30, 60.64, 358.25°)
OKLaboklab(59.59% 0.1857 -0.0041)
OKLCHoklch(59.59% 0.186 358.7)
XYZxyz(31.6065, 18.6750, 21.3383)
Luminance0.1867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0417D #41D094
analogous
#D041C5 #D0417D #D04C41
triadic
#D0417D #7DD041 #417DD0
tetradic
#D0417D #C5D041 #41D094 #4C41D0
square
#D0417D #C5D041 #41D094 #4C41D0
split-complementary
#D0417D #41D04C #41C5D0
monochromatic
#791E44 #AA2A60 #D0417D #DC729F #E8A3C0

Accessibility & contrast

On white

4.44
#D0417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#D0417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0417D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0417D#FFFFFF#000000##000000
##D0417D1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D667F
Deuteranopia (green-blind)
#84827A
Tritanopia (blue-blind)
#E1305A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0417d;
/* rgb */ color: rgb(208, 65, 125);
/* oklch */ color: oklch(59.6% 0.186 358.7);
Tailwind
colors: {
  custom: {
    50: '#e380a2',
    500: '#d0417d',
    950: '#000000',
  },
}
SCSS
$custom: #d0417d;
$custom-light: #e380a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d0417d",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 334.825,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59591,
    "c": 0.18576,
    "h": 358.7
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#D0417D
secondary
#98D5BB
accent
#E3A144
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #D0417D

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

Preview Lab → · Contrast checker → · Palette generator →

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