#D9417E#D9417E

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

Color values

HEX#D9417E
RGBrgb(217, 65, 126)
HSLhsl(336, 67%, 55%)
HSVhsv(336, 70%, 85%)
CMYKcmyk(0%, 70%, 41.9%, 14.9%)
CIE-LABlab(51.89, 63.28, 0.04)
CIE-LCHlch(51.89, 63.28, 0.04°)
OKLaboklab(61.06% 0.1939 0.0009)
OKLCHoklch(61.06% 0.194 0.3)
XYZxyz(34.2739, 20.0429, 21.7984)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9417E #41D99C
analogous
#D941CA #D9417E #D95041
triadic
#D9417E #7ED941 #417ED9
tetradic
#D9417E #CAD941 #41D99C #5041D9
square
#D9417E #CAD941 #41D99C #5041D9
split-complementary
#D9417E #41D950 #41CAD9
monochromatic
#851B45 #B82560 #D9417E #E374A1 #EDA7C3

Accessibility & contrast

On white

4.19
#D9417E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D9417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9417E
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9417E#FFFFFF#000000##000000
##D9417E1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616980
Deuteranopia (green-blind)
#8A867A
Tritanopia (blue-blind)
#EB2C5A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d9417e;
/* rgb */ color: rgb(217, 65, 126);
/* oklch */ color: oklch(61.1% 0.194 0.3);
Tailwind
colors: {
  custom: {
    50: '#ea81a3',
    500: '#d9417e',
    950: '#000000',
  },
}
SCSS
$custom: #d9417e;
$custom-light: #ea81a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d9417e",
  "rgb": {
    "r": 217,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 335.921,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61057,
    "c": 0.19393,
    "h": 0.3
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

primary
#D9417E
secondary
#9BDBC1
accent
#EAA53E
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D9417E

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

Preview Lab → · Contrast checker → · Palette generator →

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