#D7417C#D7417C

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

Color values

HEX#D7417C
RGBrgb(215, 65, 124)
HSLhsl(336, 65%, 55%)
HSVhsv(336, 70%, 84%)
CMYKcmyk(0%, 69.8%, 42.3%, 15.7%)
CIE-LABlab(51.48, 62.51, 0.61)
CIE-LCHlch(51.48, 62.52, 0.56°)
OKLaboklab(60.68% 0.1915 0.0023)
OKLCHoklch(60.68% 0.192 0.7)
XYZxyz(33.5552, 19.6871, 21.0979)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7417C #41D79C
analogous
#D741C7 #D7417C #D75141
triadic
#D7417C #7CD741 #417CD7
tetradic
#D7417C #C7D741 #41D79C #5141D7
square
#D7417C #C7D741 #41D79C #5141D7
split-complementary
#D7417C #41D751 #41C7D7
monochromatic
#821B44 #B5265E #D7417C #E2749F #ECA6C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7417C#FFFFFF#000000##000000
##D7417C1.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)
#60687E
Deuteranopia (green-blind)
#898579
Tritanopia (blue-blind)
#E92C59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7417c;
/* rgb */ color: rgb(215, 65, 124);
/* oklch */ color: oklch(60.7% 0.192 0.7);
Tailwind
colors: {
  custom: {
    50: '#e980a1',
    500: '#d7417c',
    950: '#000000',
  },
}
SCSS
$custom: #d7417c;
$custom-light: #e980a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7417c",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 336.4,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.19155,
    "h": 0.7
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#D7417C
secondary
#9AD9C1
accent
#E8A640
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7417C

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

Preview Lab → · Contrast checker → · Palette generator →

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