#D2417A#D2417A

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

Color values

HEX#D2417A
RGBrgb(210, 65, 122)
HSLhsl(336, 62%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 69%, 41.9%, 17.6%)
CIE-LABlab(50.56, 60.88, 0.37)
CIE-LCHlch(50.56, 60.88, 0.35°)
OKLaboklab(59.81% 0.1865 0.0017)
OKLCHoklch(59.81% 0.187 0.5)
XYZxyz(31.9838, 18.8913, 20.3707)
Luminance0.1889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417A #41D299
analogous
#D241C2 #D2417A #D25141
triadic
#D2417A #7AD241 #417AD2
tetradic
#D2417A #C2D241 #41D299 #5141D2
square
#D2417A #C2D241 #41D299 #5141D2
split-complementary
#D2417A #41D251 #41C2D2
monochromatic
#7B1D42 #AD295D #D2417A #DE729D #E9A4BF

Accessibility & contrast

On white

4.40
#D2417A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#D2417A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2417A
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2417A#FFFFFF#000000##000000
##D2417A1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F677B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#E32E59
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d2417a;
/* rgb */ color: rgb(210, 65, 122);
/* oklch */ color: oklch(59.8% 0.187 0.5);
Tailwind
colors: {
  custom: {
    50: '#e580a0',
    500: '#d2417a',
    950: '#000000',
  },
}
SCSS
$custom: #d2417a;
$custom-light: #e580a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417a",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 336.414,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59814,
    "c": 0.18651,
    "h": 0.5
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#D2417A
secondary
#98D6BE
accent
#E5A543
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D2417A

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

Preview Lab → · Contrast checker → · Palette generator →

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