#D8417B#D8417B

#D8417B is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.8% C 0.192 H 1.3°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D8417B
RGBrgb(216, 65, 123)
HSLhsl(337, 66%, 55%)
HSVhsv(337, 70%, 85%)
CMYKcmyk(0%, 69.9%, 43.1%, 15.3%)
CIE-LABlab(51.63, 62.70, 1.45)
CIE-LCHlch(51.63, 62.72, 1.32°)
OKLaboklab(60.81% 0.1921 0.0045)
OKLCHoklch(60.81% 0.192 1.3)
XYZxyz(33.7869, 19.8138, 20.7803)
Luminance0.1981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8417B #41D89E
analogous
#D841C6 #D8417B #D85341
triadic
#D8417B #7BD841 #417BD8
tetradic
#D8417B #C6D841 #41D89E #5341D8
square
#D8417B #C6D841 #41D89E #5341D8
split-complementary
#D8417B #41D853 #41C6D8
monochromatic
#841B43 #B6255D #D8417B #E2749E #EDA7C2

Accessibility & contrast

On white

4.23
#D8417B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D8417B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D8417B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8417B#FFFFFF#000000##000000
##D8417B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687C
Deuteranopia (green-blind)
#8A8677
Tritanopia (blue-blind)
#EA2B59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d8417b;
/* rgb */ color: rgb(216, 65, 123);
/* oklch */ color: oklch(60.8% 0.192 1.3);
Tailwind
colors: {
  custom: {
    50: '#e980a1',
    500: '#d8417b',
    950: '#000000',
  },
}
SCSS
$custom: #d8417b;
$custom-light: #e980a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d8417b",
  "rgb": {
    "r": 216,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 336.954,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.19212,
    "h": 1.3
  },
  "luminance": 0.1981
}

Semantic roles & 50–950 ramp

primary
#D8417B
secondary
#9BDAC2
accent
#E9A83F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D8417B

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

Preview Lab → · Contrast checker → · Palette generator →

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