#D7417F#D7417F

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

Color values

HEX#D7417F
RGBrgb(215, 65, 127)
HSLhsl(335, 65%, 55%)
HSVhsv(335, 70%, 84%)
CMYKcmyk(0%, 69.8%, 40.9%, 15.7%)
CIE-LABlab(51.57, 62.81, -1.06)
CIE-LCHlch(51.57, 62.82, 359.03°)
OKLaboklab(60.77% 0.1925 -0.002)
OKLCHoklch(60.77% 0.193 359.4)
XYZxyz(33.7478, 19.7641, 22.1123)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7417F #41D799
analogous
#D741CA #D7417F #D74E41
triadic
#D7417F #7FD741 #417FD7
tetradic
#D7417F #CAD741 #41D799 #4E41D7
square
#D7417F #CAD741 #41D799 #4E41D7
split-complementary
#D7417F #41D74E #41CAD7
monochromatic
#821B46 #B52661 #D7417F #E274A1 #ECA6C3

Accessibility & contrast

On white

4.24
#D7417F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7417F#FFFFFF#000000##000000
##D7417F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6981
Deuteranopia (green-blind)
#88857C
Tritanopia (blue-blind)
#E92E5B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7417f;
/* rgb */ color: rgb(215, 65, 127);
/* oklch */ color: oklch(60.8% 0.193 359.4);
Tailwind
colors: {
  custom: {
    50: '#e980a4',
    500: '#d7417f',
    950: '#000000',
  },
}
SCSS
$custom: #d7417f;
$custom-light: #e980a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7417f",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 335.2,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60769,
    "c": 0.19253,
    "h": 359.4
  },
  "luminance": 0.1976
}

Semantic roles & 50–950 ramp

primary
#D7417F
secondary
#9AD9BF
accent
#E8A340
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D7417F

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

Preview Lab → · Contrast checker → · Palette generator →

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