#D2407C#D2407C

#D2407C is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.8% C 0.188 H 359.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#D2407C
RGBrgb(210, 64, 124)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 70%, 82%)
CMYKcmyk(0%, 69.5%, 41%, 17.6%)
CIE-LABlab(50.48, 61.45, -0.94)
CIE-LCHlch(50.48, 61.46, 359.12°)
OKLaboklab(59.78% 0.1883 -0.0017)
OKLCHoklch(59.78% 0.188 359.5)
XYZxyz(32.0521, 18.8276, 21.0111)
Luminance0.1882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2407C #40D296
analogous
#D240C5 #D2407C #D24D40
triadic
#D2407C #7CD240 #407CD2
tetradic
#D2407C #C5D240 #40D296 #4D40D2
square
#D2407C #C5D240 #40D296 #4D40D2
split-complementary
#D2407C #40D24D #40C5D2
monochromatic
#7B1D43 #AC295F #D2407C #DE729E #E9A3C0

Accessibility & contrast

On white

4.41
#D2407C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#D2407C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2407C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2407C#FFFFFF#000000##000000
##D2407C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2407c;
/* rgb */ color: rgb(210, 64, 124);
/* oklch */ color: oklch(59.8% 0.188 359.5);
Tailwind
colors: {
  custom: {
    50: '#e57fa1',
    500: '#d2407c',
    950: '#000000',
  },
}
SCSS
$custom: #d2407c;
$custom-light: #e57fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2407c",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 335.342,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.18834,
    "h": 359.5
  },
  "luminance": 0.18824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2407C

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

Preview Lab → · Contrast checker → · Palette generator →

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