#D1417D#D1417D

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

Color values

HEX#D1417D
RGBrgb(209, 65, 125)
HSLhsl(335, 61%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 68.9%, 40.2%, 18%)
CIE-LABlab(50.48, 60.89, -1.58)
CIE-LCHlch(50.48, 60.92, 358.51°)
OKLaboklab(59.75% 0.1866 -0.0034)
OKLCHoklch(59.75% 0.187 359)
XYZxyz(31.8887, 18.8205, 21.3515)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1417D #41D195
analogous
#D141C5 #D1417D #D14D41
triadic
#D1417D #7DD141 #417DD1
tetradic
#D1417D #C5D141 #41D195 #4D41D1
square
#D1417D #C5D141 #41D195 #4D41D1
split-complementary
#D1417D #41D14D #41C5D1
monochromatic
#7A1E44 #AB2960 #D1417D #DD729F #E9A4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1417D#FFFFFF#000000##000000
##D1417D1.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)
#5E677F
Deuteranopia (green-blind)
#85827A
Tritanopia (blue-blind)
#E2305A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d1417d;
/* rgb */ color: rgb(209, 65, 125);
/* oklch */ color: oklch(59.8% 0.187 359.0);
Tailwind
colors: {
  custom: {
    50: '#e480a2',
    500: '#d1417d',
    950: '#000000',
  },
}
SCSS
$custom: #d1417d;
$custom-light: #e480a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d1417d",
  "rgb": {
    "r": 209,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 335,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5975,
    "c": 0.18663,
    "h": 359
  },
  "luminance": 0.18817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1417D

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

Preview Lab → · Contrast checker → · Palette generator →

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