#D7417B#D7417B

#D7417B is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.191 H 1.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D7417B
RGBrgb(215, 65, 123)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 70%, 84%)
CMYKcmyk(0%, 69.8%, 42.8%, 15.7%)
CIE-LABlab(51.45, 62.42, 1.17)
CIE-LCHlch(51.45, 62.43, 1.08°)
OKLaboklab(60.64% 0.1912 0.0038)
OKLCHoklch(60.64% 0.191 1.1)
XYZxyz(33.4922, 19.6619, 20.7665)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7417B #41D79D
analogous
#D741C6 #D7417B #D75241
triadic
#D7417B #7BD741 #417BD7
tetradic
#D7417B #C6D741 #41D79D #5241D7
square
#D7417B #C6D741 #41D79D #5241D7
split-complementary
#D7417B #41D752 #41C6D7
monochromatic
#821B43 #B5265D #D7417B #E2749E #ECA6C1

Accessibility & contrast

On white

4.26
#D7417B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#D7417B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7417B
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7417B#FFFFFF#000000##000000
##D7417B1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#61687C
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#E92C59
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7417b;
/* rgb */ color: rgb(215, 65, 123);
/* oklch */ color: oklch(60.6% 0.191 1.1);
Tailwind
colors: {
  custom: {
    50: '#e980a1',
    500: '#d7417b',
    950: '#000000',
  },
}
SCSS
$custom: #d7417b;
$custom-light: #e980a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7417b",
  "rgb": {
    "r": 215,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 336.8,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60644,
    "c": 0.19125,
    "h": 1.1
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#D7417B
secondary
#9AD9C1
accent
#E8A740
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7417B

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

Preview Lab → · Contrast checker → · Palette generator →

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