#D2417C#D2417C

#D2417C is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.9% C 0.187 H 359.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D2417C
RGBrgb(210, 65, 124)
HSLhsl(336, 62%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 69%, 41%, 17.6%)
CIE-LABlab(50.62, 61.08, -0.75)
CIE-LCHlch(50.62, 61.09, 359.30°)
OKLaboklab(59.88% 0.1872 -0.0012)
OKLCHoklch(59.88% 0.187 359.6)
XYZxyz(32.1090, 18.9414, 21.0301)
Luminance0.1894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417C #41D297
analogous
#D241C5 #D2417C #D24F41
triadic
#D2417C #7CD241 #417CD2
tetradic
#D2417C #C5D241 #41D297 #4F41D2
square
#D2417C #C5D241 #41D297 #4F41D2
split-complementary
#D2417C #41D24F #41C5D2
monochromatic
#7B1D44 #AD295F #D2417C #DE729E #E9A4C0

Accessibility & contrast

On white

4.39
#D2417C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D2417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2417C
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2417C#FFFFFF#000000##000000
##D2417C1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2417c;
/* rgb */ color: rgb(210, 65, 124);
/* oklch */ color: oklch(59.9% 0.187 359.6);
Tailwind
colors: {
  custom: {
    50: '#e580a1',
    500: '#d2417c',
    950: '#000000',
  },
}
SCSS
$custom: #d2417c;
$custom-light: #e580a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417c",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 335.586,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59877,
    "c": 0.18716,
    "h": 359.6
  },
  "luminance": 0.18937
}

Semantic roles & 50–950 ramp

primary
#D2417C
secondary
#98D6BD
accent
#E5A343
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D2417C

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

Preview Lab → · Contrast checker → · Palette generator →

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