#D0417B#D0417B

#D0417B is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.5% C 0.185 H 359.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D0417B
RGBrgb(208, 65, 123)
HSLhsl(336, 60%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 68.8%, 40.9%, 18.4%)
CIE-LABlab(50.24, 60.40, -0.73)
CIE-LCHlch(50.24, 60.41, 359.30°)
OKLaboklab(59.53% 0.1851 -0.0012)
OKLCHoklch(59.53% 0.185 359.6)
XYZxyz(31.4801, 18.6244, 20.6722)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0417B #41D096
analogous
#D041C3 #D0417B #D04E41
triadic
#D0417B #7BD041 #417BD0
tetradic
#D0417B #C3D041 #41D096 #4E41D0
square
#D0417B #C3D041 #41D096 #4E41D0
split-complementary
#D0417B #41D04E #41C3D0
monochromatic
#791E43 #AA2A5E #D0417B #DC729D #E8A3BF

Accessibility & contrast

On white

4.45
#D0417B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#D0417B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D0417B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0417B#FFFFFF#000000##000000
##D0417B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E667D
Deuteranopia (green-blind)
#848278
Tritanopia (blue-blind)
#E12F59
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0417b;
/* rgb */ color: rgb(208, 65, 123);
/* oklch */ color: oklch(59.5% 0.185 359.6);
Tailwind
colors: {
  custom: {
    50: '#e37fa1',
    500: '#d0417b',
    950: '#000000',
  },
}
SCSS
$custom: #d0417b;
$custom-light: #e37fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d0417b",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 335.664,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59527,
    "c": 0.18506,
    "h": 359.6
  },
  "luminance": 0.18621
}

Semantic roles & 50–950 ramp

primary
#D0417B
secondary
#98D5BC
accent
#E3A344
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D0417B

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

Preview Lab → · Contrast checker → · Palette generator →

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