#D7417D#D7417D

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

Color values

HEX#D7417D
RGBrgb(215, 65, 125)
HSLhsl(336, 65%, 55%)
HSVhsv(336, 70%, 84%)
CMYKcmyk(0%, 69.8%, 41.9%, 15.7%)
CIE-LABlab(51.51, 62.61, 0.06)
CIE-LCHlch(51.51, 62.61, 0.05°)
OKLaboklab(60.71% 0.1919 0.0009)
OKLCHoklch(60.71% 0.192 0.3)
XYZxyz(33.6187, 19.7125, 21.4326)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7417D #41D79B
analogous
#D741C8 #D7417D #D75041
triadic
#D7417D #7DD741 #417DD7
tetradic
#D7417D #C8D741 #41D79B #5041D7
square
#D7417D #C8D741 #41D79B #5041D7
split-complementary
#D7417D #41D750 #41C8D7
monochromatic
#821B45 #B5265F #D7417D #E274A0 #ECA6C2

Accessibility & contrast

On white

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

On black

4.94
#D7417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7417D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7417D#FFFFFF#000000##000000
##D7417D1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687F
Deuteranopia (green-blind)
#89857A
Tritanopia (blue-blind)
#E92D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7417d;
/* rgb */ color: rgb(215, 65, 125);
/* oklch */ color: oklch(60.7% 0.192 0.3);
Tailwind
colors: {
  custom: {
    50: '#e980a2',
    500: '#d7417d',
    950: '#000000',
  },
}
SCSS
$custom: #d7417d;
$custom-light: #e980a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7417d",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 336,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.19187,
    "h": 0.3
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#D7417D
secondary
#9AD9C0
accent
#E8A540
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7417D

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

Preview Lab → · Contrast checker → · Palette generator →

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