#D9417B#D9417B

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

Color values

HEX#D9417B
RGBrgb(217, 65, 123)
HSLhsl(337, 67%, 55%)
HSVhsv(337, 70%, 85%)
CMYKcmyk(0%, 70%, 43.3%, 14.9%)
CIE-LABlab(51.80, 62.99, 1.72)
CIE-LCHlch(51.80, 63.01, 1.57°)
OKLaboklab(60.97% 0.1929 0.0052)
OKLCHoklch(60.97% 0.193 1.5)
XYZxyz(34.0833, 19.9667, 20.7942)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9417B #41D99F
analogous
#D941C7 #D9417B #D95341
triadic
#D9417B #7BD941 #417BD9
tetradic
#D9417B #C7D941 #41D99F #5341D9
square
#D9417B #C7D941 #41D99F #5341D9
split-complementary
#D9417B #41D953 #41C7D9
monochromatic
#851B43 #B8255D #D9417B #E3749E #EDA7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9417B#FFFFFF#000000##000000
##D9417B1.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)
#61697C
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#EB2B59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d9417b;
/* rgb */ color: rgb(217, 65, 123);
/* oklch */ color: oklch(61.0% 0.193 1.5);
Tailwind
colors: {
  custom: {
    50: '#ea81a1',
    500: '#d9417b',
    950: '#000000',
  },
}
SCSS
$custom: #d9417b;
$custom-light: #ea81a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d9417b",
  "rgb": {
    "r": 217,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 337.105,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60965,
    "c": 0.19301,
    "h": 1.5
  },
  "luminance": 0.19962
}

Semantic roles & 50–950 ramp

primary
#D9417B
secondary
#9BDBC2
accent
#EAA83E
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D9417B

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

Preview Lab → · Contrast checker → · Palette generator →

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