#D2417E#D2417E

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

Color values

HEX#D2417E
RGBrgb(210, 65, 126)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 69%, 82%)
CMYKcmyk(0%, 69%, 40%, 17.6%)
CIE-LABlab(50.68, 61.28, -1.87)
CIE-LCHlch(50.68, 61.31, 358.26°)
OKLaboklab(59.94% 0.1878 -0.0041)
OKLCHoklch(59.94% 0.188 358.7)
XYZxyz(32.2367, 18.9925, 21.7029)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2417E #41D295
analogous
#D241C6 #D2417E #D24D41
triadic
#D2417E #7ED241 #417ED2
tetradic
#D2417E #C6D241 #41D295 #4D41D2
square
#D2417E #C6D241 #41D295 #4D41D2
split-complementary
#D2417E #41D24D #41C6D2
monochromatic
#7B1D45 #AD2960 #D2417E #DE72A0 #E9A4C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2417E#FFFFFF#000000##000000
##D2417E1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6780
Deuteranopia (green-blind)
#85837B
Tritanopia (blue-blind)
#E3305A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d2417e;
/* rgb */ color: rgb(210, 65, 126);
/* oklch */ color: oklch(59.9% 0.188 358.7);
Tailwind
colors: {
  custom: {
    50: '#e580a3',
    500: '#d2417e',
    950: '#000000',
  },
}
SCSS
$custom: #d2417e;
$custom-light: #e580a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d2417e",
  "rgb": {
    "r": 210,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 334.759,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59941,
    "c": 0.18786,
    "h": 358.7
  },
  "luminance": 0.18989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2417E

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

Preview Lab → · Contrast checker → · Palette generator →

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