#D8417E#D8417E

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

Color values

HEX#D8417E
RGBrgb(216, 65, 126)
HSLhsl(336, 66%, 55%)
HSVhsv(336, 70%, 85%)
CMYKcmyk(0%, 69.9%, 41.7%, 15.3%)
CIE-LABlab(51.71, 62.99, -0.23)
CIE-LCHlch(51.71, 62.99, 359.79°)
OKLaboklab(60.9% 0.1931 0.0001)
OKLCHoklch(60.9% 0.193 0)
XYZxyz(33.9775, 19.8901, 21.7845)
Luminance0.1989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8417E #41D89B
analogous
#D841C9 #D8417E #D85041
triadic
#D8417E #7ED841 #417ED8
tetradic
#D8417E #C9D841 #41D89B #5041D8
square
#D8417E #C9D841 #41D89B #5041D8
split-complementary
#D8417E #41D850 #41C9D8
monochromatic
#841B45 #B62560 #D8417E #E274A0 #EDA7C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8417E#FFFFFF#000000##000000
##D8417E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#89867A
Tritanopia (blue-blind)
#EA2D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8417e;
/* rgb */ color: rgb(216, 65, 126);
/* oklch */ color: oklch(60.9% 0.193 0.0);
Tailwind
colors: {
  custom: {
    50: '#e980a3',
    500: '#d8417e',
    950: '#000000',
  },
}
SCSS
$custom: #d8417e;
$custom-light: #e980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8417e",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 335.762,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.19307,
    "h": 0
  },
  "luminance": 0.19886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8417E

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

Preview Lab → · Contrast checker → · Palette generator →

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