#D2417D#D2417D

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

Color values

HEX#D2417D
RGBrgb(210, 65, 125)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 69%, 40.5%, 17.6%)
CIE-LABlab(50.65, 61.18, -1.31)
CIE-LCHlch(50.65, 61.20, 358.78°)
OKLaboklab(59.91% 0.1875 -0.0027)
OKLCHoklch(59.91% 0.188 359.2)
XYZxyz(32.1725, 18.9668, 21.3648)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417D #41D296
analogous
#D241C6 #D2417D #D24E41
triadic
#D2417D #7DD241 #417DD2
tetradic
#D2417D #C6D241 #41D296 #4E41D2
square
#D2417D #C6D241 #41D296 #4E41D2
split-complementary
#D2417D #41D24E #41C6D2
monochromatic
#7B1D44 #AD2960 #D2417D #DE729F #E9A4C1

Accessibility & contrast

On white

4.38
#D2417D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2417D#FFFFFF#000000##000000
##D2417D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E677F
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#E32F5A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2417d;
/* rgb */ color: rgb(210, 65, 125);
/* oklch */ color: oklch(59.9% 0.188 359.2);
Tailwind
colors: {
  custom: {
    50: '#e580a2',
    500: '#d2417d',
    950: '#000000',
  },
}
SCSS
$custom: #d2417d;
$custom-light: #e580a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417d",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 335.172,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.1875,
    "h": 359.2
  },
  "luminance": 0.18963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2417D

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

Preview Lab → · Contrast checker → · Palette generator →

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