#D2407F#D2407F

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

Color values

HEX#D2407F
RGBrgb(210, 64, 127)
HSLhsl(334, 62%, 54%)
HSVhsv(334, 70%, 82%)
CMYKcmyk(0%, 69.5%, 39.5%, 17.6%)
CIE-LABlab(50.58, 61.76, -2.62)
CIE-LCHlch(50.58, 61.81, 357.57°)
OKLaboklab(59.88% 0.1893 -0.0061)
OKLCHoklch(59.88% 0.189 358.2)
XYZxyz(32.2447, 18.9047, 22.0255)
Luminance0.1890 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2407F #40D293
analogous
#D240C8 #D2407F #D24A40
triadic
#D2407F #7FD240 #407FD2
tetradic
#D2407F #C8D240 #40D293 #4A40D2
square
#D2407F #C8D240 #40D293 #4A40D2
split-complementary
#D2407F #40D24A #40C8D2
monochromatic
#7B1D45 #AC2961 #D2407F #DE72A0 #E9A3C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2407F#FFFFFF#000000##000000
##D2407F1.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)
#5D6781
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#E32F5A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #d2407f;
/* rgb */ color: rgb(210, 64, 127);
/* oklch */ color: oklch(59.9% 0.189 358.2);
Tailwind
colors: {
  custom: {
    50: '#e57fa4',
    500: '#d2407f',
    950: '#000000',
  },
}
SCSS
$custom: #d2407f;
$custom-light: #e57fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#d2407f",
  "rgb": {
    "r": 210,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 334.11,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59875,
    "c": 0.1894,
    "h": 358.2
  },
  "luminance": 0.18901
}

Semantic roles & 50–950 ramp

primary
#D2407F
secondary
#98D6BB
accent
#E59F43
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D2407F

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

Preview Lab → · Contrast checker → · Palette generator →

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