#D1417C#D1417C

#D1417C is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.7% C 0.186 H 359.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D1417C
RGBrgb(209, 65, 124)
HSLhsl(335, 61%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.9%, 40.7%, 18%)
CIE-LABlab(50.45, 60.79, -1.02)
CIE-LCHlch(50.45, 60.80, 359.04°)
OKLaboklab(59.72% 0.1863 -0.0019)
OKLCHoklch(59.72% 0.186 359.4)
XYZxyz(31.8251, 18.7950, 21.0168)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1417C #41D196
analogous
#D141C4 #D1417C #D14E41
triadic
#D1417C #7CD141 #417CD1
tetradic
#D1417C #C4D141 #41D196 #4E41D1
square
#D1417C #C4D141 #41D196 #4E41D1
split-complementary
#D1417C #41D14E #41C4D1
monochromatic
#7A1E43 #AB295F #D1417C #DD729E #E9A4C0

Accessibility & contrast

On white

4.41
#D1417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D1417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1417C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1417C#FFFFFF#000000##000000
##D1417C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E677E
Deuteranopia (green-blind)
#858279
Tritanopia (blue-blind)
#E22F59
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1417c;
/* rgb */ color: rgb(209, 65, 124);
/* oklch */ color: oklch(59.7% 0.186 359.4);
Tailwind
colors: {
  custom: {
    50: '#e480a1',
    500: '#d1417c',
    950: '#000000',
  },
}
SCSS
$custom: #d1417c;
$custom-light: #e480a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1417c",
  "rgb": {
    "r": 209,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 335.417,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59718,
    "c": 0.18628,
    "h": 359.4
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#D1417C
secondary
#98D6BC
accent
#E4A244
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #D1417C

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

Preview Lab → · Contrast checker → · Palette generator →

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