#D8417D#D8417D

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

Color values

HEX#D8417D
RGBrgb(216, 65, 125)
HSLhsl(336, 66%, 55%)
HSVhsv(336, 70%, 85%)
CMYKcmyk(0%, 69.9%, 42.1%, 15.3%)
CIE-LABlab(51.68, 62.89, 0.33)
CIE-LCHlch(51.68, 62.90, 0.30°)
OKLaboklab(60.87% 0.1927 0.0016)
OKLCHoklch(60.87% 0.193 0.5)
XYZxyz(33.9133, 19.8644, 21.4464)
Luminance0.1986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8417D #41D89C
analogous
#D841C8 #D8417D #D85041
triadic
#D8417D #7DD841 #417DD8
tetradic
#D8417D #C8D841 #41D89C #5041D8
square
#D8417D #C8D841 #41D89C #5041D8
split-complementary
#D8417D #41D850 #41C8D8
monochromatic
#841B45 #B6255F #D8417D #E274A0 #EDA7C2

Accessibility & contrast

On white

4.22
#D8417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#D8417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8417D
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8417D#FFFFFF#000000##000000
##D8417D1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#898679
Tritanopia (blue-blind)
#EA2C5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8417d;
/* rgb */ color: rgb(216, 65, 125);
/* oklch */ color: oklch(60.9% 0.193 0.5);
Tailwind
colors: {
  custom: {
    50: '#e980a2',
    500: '#d8417d',
    950: '#000000',
  },
}
SCSS
$custom: #d8417d;
$custom-light: #e980a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d8417d",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 336.159,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.19275,
    "h": 0.5
  },
  "luminance": 0.1986
}

Semantic roles & 50–950 ramp

primary
#D8417D
secondary
#9BDAC1
accent
#E9A53F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D8417D

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

Preview Lab → · Contrast checker → · Palette generator →

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