#D7408E#D7408E

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

Color values

HEX#D7408E
RGBrgb(215, 64, 142)
HSLhsl(329, 65%, 55%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 70.2%, 34%, 15.7%)
CIE-LABlab(51.92, 64.75, -9.52)
CIE-LCHlch(51.92, 65.45, 351.63°)
OKLaboklab(61.18% 0.1982 -0.0244)
OKLCHoklch(61.18% 0.2 353)
XYZxyz(34.7422, 20.0709, 27.6304)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7408E #40D789
analogous
#D540D7 #D7408E #D74042
triadic
#D7408E #8ED740 #408ED7
tetradic
#D7408E #D7D540 #40D789 #4042D7
square
#D7408E #D7D540 #40D789 #4042D7
split-complementary
#D7408E #42D740 #40D7D5
monochromatic
#811B50 #B4266F #D7408E #E273AC #ECA5CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7408E#FFFFFF#000000##000000
##D7408E1.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)
#5A6A90
Deuteranopia (green-blind)
#84868B
Tritanopia (blue-blind)
#E73462
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7408e;
/* rgb */ color: rgb(215, 64, 142);
/* oklch */ color: oklch(61.2% 0.200 353.0);
Tailwind
colors: {
  custom: {
    50: '#e880af',
    500: '#d7408e',
    950: '#000000',
  },
}
SCSS
$custom: #d7408e;
$custom-light: #e880af;
$custom-dark: #000000;
JSON
{
  "hex": "#d7408e",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 329.007,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61181,
    "c": 0.19967,
    "h": 353
  },
  "luminance": 0.20067
}

Semantic roles & 50–950 ramp

primary
#D7408E
secondary
#9AD9B8
accent
#E8913F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7408E

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

Preview Lab → · Contrast checker → · Palette generator →

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