#D7417E#D7417E

#D7417E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.192 H 359.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D7417E
RGBrgb(215, 65, 126)
HSLhsl(336, 65%, 55%)
HSVhsv(336, 70%, 84%)
CMYKcmyk(0%, 69.8%, 41.4%, 15.7%)
CIE-LABlab(51.54, 62.71, -0.50)
CIE-LCHlch(51.54, 62.71, 359.54°)
OKLaboklab(60.74% 0.1922 -0.0006)
OKLCHoklch(60.74% 0.192 359.8)
XYZxyz(33.6829, 19.7382, 21.7707)
Luminance0.1973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7417E #41D79A
analogous
#D741C9 #D7417E #D74F41
triadic
#D7417E #7ED741 #417ED7
tetradic
#D7417E #C9D741 #41D79A #4F41D7
square
#D7417E #C9D741 #41D79A #4F41D7
split-complementary
#D7417E #41D74F #41C9D7
monochromatic
#821B45 #B52660 #D7417E #E274A0 #ECA6C3

Accessibility & contrast

On white

4.25
#D7417E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D7417E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7417E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7417E#FFFFFF#000000##000000
##D7417E1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606980
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#E92D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7417e;
/* rgb */ color: rgb(215, 65, 126);
/* oklch */ color: oklch(60.7% 0.192 359.8);
Tailwind
colors: {
  custom: {
    50: '#e980a3',
    500: '#d7417e',
    950: '#000000',
  },
}
SCSS
$custom: #d7417e;
$custom-light: #e980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7417e",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 335.6,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60737,
    "c": 0.1922,
    "h": 359.8
  },
  "luminance": 0.19734
}

Semantic roles & 50–950 ramp

primary
#D7417E
secondary
#9AD9C0
accent
#E8A440
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D7417E

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

Preview Lab → · Contrast checker → · Palette generator →

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