#D0417C#D0417C

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

Color values

HEX#D0417C
RGBrgb(208, 65, 124)
HSLhsl(335, 60%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.8%, 40.4%, 18.4%)
CIE-LABlab(50.27, 60.50, -1.29)
CIE-LCHlch(50.27, 60.52, 358.78°)
OKLaboklab(59.56% 0.1854 -0.0026)
OKLCHoklch(59.56% 0.185 359.2)
XYZxyz(31.5430, 18.6496, 21.0035)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0417C #41D095
analogous
#D041C3 #D0417C #D04D41
triadic
#D0417C #7CD041 #417CD0
tetradic
#D0417C #C3D041 #41D095 #4D41D0
square
#D0417C #C3D041 #41D095 #4D41D0
split-complementary
#D0417C #41D04D #41C3D0
monochromatic
#791E43 #AA2A5F #D0417C #DC729E #E8A3C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0417C#FFFFFF#000000##000000
##D0417C1.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)
#5D667E
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#E13059
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d0417c;
/* rgb */ color: rgb(208, 65, 124);
/* oklch */ color: oklch(59.6% 0.185 359.2);
Tailwind
colors: {
  custom: {
    50: '#e380a1',
    500: '#d0417c',
    950: '#000000',
  },
}
SCSS
$custom: #d0417c;
$custom-light: #e380a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d0417c",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 335.245,
    "s": 60.338,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59559,
    "c": 0.1854,
    "h": 359.2
  },
  "luminance": 0.18646
}

Semantic roles & 50–950 ramp

primary
#D0417C
secondary
#98D5BC
accent
#E3A244
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #D0417C

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

Preview Lab → · Contrast checker → · Palette generator →

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