#D2417F#D2417F

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

Color values

HEX#D2417F
RGBrgb(210, 65, 127)
HSLhsl(334, 62%, 54%)
HSVhsv(334, 69%, 82%)
CMYKcmyk(0%, 69%, 39.5%, 17.6%)
CIE-LABlab(50.71, 61.39, -2.42)
CIE-LCHlch(50.71, 61.43, 357.74°)
OKLaboklab(59.97% 0.1881 -0.0056)
OKLCHoklch(59.97% 0.188 358.3)
XYZxyz(32.3016, 19.0185, 22.0445)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417F #41D294
analogous
#D241C7 #D2417F #D24C41
triadic
#D2417F #7FD241 #417FD2
tetradic
#D2417F #C7D241 #41D294 #4C41D2
square
#D2417F #C7D241 #41D294 #4C41D2
split-complementary
#D2417F #41D24C #41C7D2
monochromatic
#7B1D45 #AD2961 #D2417F #DE72A0 #E9A4C2

Accessibility & contrast

On white

4.37
#D2417F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#D2417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2417F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2417F#FFFFFF#000000##000000
##D2417F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6781
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#E3305B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2417f;
/* rgb */ color: rgb(210, 65, 127);
/* oklch */ color: oklch(60.0% 0.188 358.3);
Tailwind
colors: {
  custom: {
    50: '#e580a4',
    500: '#d2417f',
    950: '#000000',
  },
}
SCSS
$custom: #d2417f;
$custom-light: #e580a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417f",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 334.345,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.18821,
    "h": 358.3
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#D2417F
secondary
#98D6BC
accent
#E5A043
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D2417F

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

Preview Lab → · Contrast checker → · Palette generator →

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