#D2417B#D2417B

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

Color values

HEX#D2417B
RGBrgb(210, 65, 123)
HSLhsl(336, 62%, 54%)
HSVhsv(336, 69%, 82%)
CMYKcmyk(0%, 69%, 41.4%, 17.6%)
CIE-LABlab(50.59, 60.98, -0.19)
CIE-LCHlch(50.59, 60.98, 359.82°)
OKLaboklab(59.85% 0.1868 0.0002)
OKLCHoklch(59.85% 0.187 0.1)
XYZxyz(32.0461, 18.9162, 20.6987)
Luminance0.1891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417B #41D298
analogous
#D241C4 #D2417B #D25041
triadic
#D2417B #7BD241 #417BD2
tetradic
#D2417B #C4D241 #41D298 #5041D2
square
#D2417B #C4D241 #41D298 #5041D2
split-complementary
#D2417B #41D250 #41C4D2
monochromatic
#7B1D43 #AD295E #D2417B #DE729D #E9A4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2417B#FFFFFF#000000##000000
##D2417B1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2417b;
/* rgb */ color: rgb(210, 65, 123);
/* oklch */ color: oklch(59.8% 0.187 0.1);
Tailwind
colors: {
  custom: {
    50: '#e580a1',
    500: '#d2417b',
    950: '#000000',
  },
}
SCSS
$custom: #d2417b;
$custom-light: #e580a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417b",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 336,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59845,
    "c": 0.18683,
    "h": 0.1
  },
  "luminance": 0.18912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2417B

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

Preview Lab → · Contrast checker → · Palette generator →

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