#D9417D#D9417D

#D9417D is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.0% C 0.194 H 0.7°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D9417D
RGBrgb(217, 65, 125)
HSLhsl(336, 67%, 55%)
HSVhsv(336, 70%, 85%)
CMYKcmyk(0%, 70%, 42.4%, 14.9%)
CIE-LABlab(51.86, 63.18, 0.60)
CIE-LCHlch(51.86, 63.18, 0.55°)
OKLaboklab(61.03% 0.1936 0.0023)
OKLCHoklch(61.03% 0.194 0.7)
XYZxyz(34.2097, 20.0173, 21.4603)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9417D #41D99D
analogous
#D941C9 #D9417D #D95141
triadic
#D9417D #7DD941 #417DD9
tetradic
#D9417D #C9D941 #41D99D #5141D9
square
#D9417D #C9D941 #41D99D #5141D9
split-complementary
#D9417D #41D951 #41C9D9
monochromatic
#851B45 #B8255F #D9417D #E374A0 #EDA7C3

Accessibility & contrast

On white

4.20
#D9417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D9417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9417D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9417D#FFFFFF#000000##000000
##D9417D1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#8A8679
Tritanopia (blue-blind)
#EB2C5A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9417d;
/* rgb */ color: rgb(217, 65, 125);
/* oklch */ color: oklch(61.0% 0.194 0.7);
Tailwind
colors: {
  custom: {
    50: '#ea81a2',
    500: '#d9417d',
    950: '#000000',
  },
}
SCSS
$custom: #d9417d;
$custom-light: #ea81a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d9417d",
  "rgb": {
    "r": 217,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 336.316,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61026,
    "c": 0.19361,
    "h": 0.7
  },
  "luminance": 0.20013
}

Semantic roles & 50–950 ramp

primary
#D9417D
secondary
#9BDBC2
accent
#EAA63E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D9417D

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

Preview Lab → · Contrast checker → · Palette generator →

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