#D8417F#D8417F

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

Color values

HEX#D8417F
RGBrgb(216, 65, 127)
HSLhsl(335, 66%, 55%)
HSVhsv(335, 70%, 85%)
CMYKcmyk(0%, 69.9%, 41.2%, 15.3%)
CIE-LABlab(51.74, 63.09, -0.79)
CIE-LCHlch(51.74, 63.10, 359.29°)
OKLaboklab(60.93% 0.1934 -0.0013)
OKLCHoklch(60.93% 0.193 359.6)
XYZxyz(34.0424, 19.9161, 22.1261)
Luminance0.1991 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8417F #41D89A
analogous
#D841CB #D8417F #D84E41
triadic
#D8417F #7FD841 #417FD8
tetradic
#D8417F #CBD841 #41D89A #4E41D8
square
#D8417F #CBD841 #41D89A #4E41D8
split-complementary
#D8417F #41D84E #41CBD8
monochromatic
#841B46 #B62561 #D8417F #E274A1 #EDA7C3

Accessibility & contrast

On white

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

On black

4.98
#D8417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8417F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8417F#FFFFFF#000000##000000
##D8417F1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606981
Deuteranopia (green-blind)
#89867B
Tritanopia (blue-blind)
#EA2D5B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8417f;
/* rgb */ color: rgb(216, 65, 127);
/* oklch */ color: oklch(60.9% 0.193 359.6);
Tailwind
colors: {
  custom: {
    50: '#e981a4',
    500: '#d8417f',
    950: '#000000',
  },
}
SCSS
$custom: #d8417f;
$custom-light: #e981a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8417f",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 335.364,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60928,
    "c": 0.19339,
    "h": 359.6
  },
  "luminance": 0.19912
}

Semantic roles & 50–950 ramp

primary
#D8417F
secondary
#9BDAC0
accent
#E9A33F
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D8417F

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

Preview Lab → · Contrast checker → · Palette generator →

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