#D2407D#D2407D

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

Color values

HEX#D2407D
RGBrgb(210, 64, 125)
HSLhsl(335, 62%, 54%)
HSVhsv(335, 70%, 82%)
CMYKcmyk(0%, 69.5%, 40.5%, 17.6%)
CIE-LABlab(50.51, 61.55, -1.50)
CIE-LCHlch(50.51, 61.57, 358.60°)
OKLaboklab(59.81% 0.1887 -0.0032)
OKLCHoklch(59.81% 0.189 359)
XYZxyz(32.1156, 18.8530, 21.3458)
Luminance0.1885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2407D #40D295
analogous
#D240C6 #D2407D #D24C40
triadic
#D2407D #7DD240 #407DD2
tetradic
#D2407D #C6D240 #40D295 #4C40D2
square
#D2407D #C6D240 #40D295 #4C40D2
split-complementary
#D2407D #40D24C #40C6D2
monochromatic
#7B1D44 #AC2960 #D2407D #DE729F #E9A3C0

Accessibility & contrast

On white

4.40
#D2407D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#D2407D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D2407D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2407D#FFFFFF#000000##000000
##D2407D1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D677F
Deuteranopia (green-blind)
#85827A
Tritanopia (blue-blind)
#E32E59
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d2407d;
/* rgb */ color: rgb(210, 64, 125);
/* oklch */ color: oklch(59.8% 0.189 359.0);
Tailwind
colors: {
  custom: {
    50: '#e57fa2',
    500: '#d2407d',
    950: '#000000',
  },
}
SCSS
$custom: #d2407d;
$custom-light: #e57fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2407d",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 334.932,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5981,
    "c": 0.18869,
    "h": 359
  },
  "luminance": 0.18849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2407D

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

Preview Lab → · Contrast checker → · Palette generator →

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