#D9417A#D9417A

#D9417A is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.193 H 2.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D9417A
RGBrgb(217, 65, 122)
HSLhsl(338, 67%, 55%)
HSVhsv(338, 70%, 85%)
CMYKcmyk(0%, 70%, 43.8%, 14.9%)
CIE-LABlab(51.77, 62.89, 2.28)
CIE-LCHlch(51.77, 62.93, 2.08°)
OKLaboklab(60.93% 0.1926 0.0066)
OKLCHoklch(60.93% 0.193 2)
XYZxyz(34.0210, 19.9418, 20.4662)
Luminance0.1994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9417A #41D9A0
analogous
#D941C6 #D9417A #D95441
triadic
#D9417A #7AD941 #417AD9
tetradic
#D9417A #C6D941 #41D9A0 #5441D9
square
#D9417A #C6D941 #41D9A0 #5441D9
split-complementary
#D9417A #41D954 #41C6D9
monochromatic
#851B42 #B8255C #D9417A #E3749E #EDA7C1

Accessibility & contrast

On white

4.21
#D9417A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D9417A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D9417A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9417A#FFFFFF#000000##000000
##D9417A1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#8A8676
Tritanopia (blue-blind)
#EB2A59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9417a;
/* rgb */ color: rgb(217, 65, 122);
/* oklch */ color: oklch(60.9% 0.193 2.0);
Tailwind
colors: {
  custom: {
    50: '#ea80a0',
    500: '#d9417a',
    950: '#000000',
  },
}
SCSS
$custom: #d9417a;
$custom-light: #ea80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d9417a",
  "rgb": {
    "r": 217,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 337.5,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.19271,
    "h": 2
  },
  "luminance": 0.19937
}

Semantic roles & 50–950 ramp

primary
#D9417A
secondary
#9BDBC3
accent
#EAA93E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D9417A

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

Preview Lab → · Contrast checker → · Palette generator →

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