#D1417B#D1417B

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

Color values

HEX#D1417B
RGBrgb(209, 65, 123)
HSLhsl(336, 61%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 68.9%, 41.1%, 18%)
CIE-LABlab(50.42, 60.69, -0.46)
CIE-LCHlch(50.42, 60.69, 359.56°)
OKLaboklab(59.69% 0.1859 -0.0005)
OKLCHoklch(59.69% 0.186 359.8)
XYZxyz(31.7622, 18.7699, 20.6854)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1417B #41D197
analogous
#D141C3 #D1417B #D14F41
triadic
#D1417B #7BD141 #417BD1
tetradic
#D1417B #C3D141 #41D197 #4F41D1
square
#D1417B #C3D141 #41D197 #4F41D1
split-complementary
#D1417B #41D14F #41C3D1
monochromatic
#7A1E43 #AB295E #D1417B #DD729D #E9A4BF

Accessibility & contrast

On white

4.42
#D1417B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#D1417B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D1417B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1417B#FFFFFF#000000##000000
##D1417B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1417b;
/* rgb */ color: rgb(209, 65, 123);
/* oklch */ color: oklch(59.7% 0.186 359.8);
Tailwind
colors: {
  custom: {
    50: '#e480a1',
    500: '#d1417b',
    950: '#000000',
  },
}
SCSS
$custom: #d1417b;
$custom-light: #e480a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d1417b",
  "rgb": {
    "r": 209,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 335.833,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.18594,
    "h": 359.8
  },
  "luminance": 0.18766
}

Semantic roles & 50–950 ramp

primary
#D1417B
secondary
#98D6BD
accent
#E4A444
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #D1417B

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

Preview Lab → · Contrast checker → · Palette generator →

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