#D7408D#D7408D

#D7408D is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.199 H 353.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D7408D
RGBrgb(215, 64, 141)
HSLhsl(329, 65%, 55%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 70.2%, 34.4%, 15.7%)
CIE-LABlab(51.88, 64.64, -8.98)
CIE-LCHlch(51.88, 65.26, 352.09°)
OKLaboklab(61.15% 0.1979 -0.023)
OKLCHoklch(61.15% 0.199 353.4)
XYZxyz(34.6675, 20.0410, 27.2368)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7408D #40D78A
analogous
#D640D7 #D7408D #D74042
triadic
#D7408D #8DD740 #408DD7
tetradic
#D7408D #D7D640 #40D78A #4042D7
square
#D7408D #D7D640 #40D78A #4042D7
split-complementary
#D7408D #42D740 #40D7D6
monochromatic
#811B4F #B4266E #D7408D #E273AB #ECA5C9

Accessibility & contrast

On white

4.19
#D7408D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D7408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7408D
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7408D#FFFFFF#000000##000000
##D7408D1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#85868A
Tritanopia (blue-blind)
#E73461
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7408d;
/* rgb */ color: rgb(215, 64, 141);
/* oklch */ color: oklch(61.1% 0.199 353.4);
Tailwind
colors: {
  custom: {
    50: '#e880ae',
    500: '#d7408d',
    950: '#000000',
  },
}
SCSS
$custom: #d7408d;
$custom-light: #e880ae;
$custom-dark: #000000;
JSON
{
  "hex": "#d7408d",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 329.404,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61145,
    "c": 0.19922,
    "h": 353.4
  },
  "luminance": 0.20037
}

Semantic roles & 50–950 ramp

primary
#D7408D
secondary
#9AD9B9
accent
#E8923F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7408D

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

Preview Lab → · Contrast checker → · Palette generator →

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