#D7408B#D7408B

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

Color values

HEX#D7408B
RGBrgb(215, 64, 139)
HSLhsl(330, 65%, 55%)
HSVhsv(330, 70%, 84%)
CMYKcmyk(0%, 70.2%, 35.3%, 15.7%)
CIE-LABlab(51.82, 64.42, -7.88)
CIE-LCHlch(51.82, 64.90, 353.02°)
OKLaboklab(61.07% 0.1973 -0.02)
OKLCHoklch(61.07% 0.198 354.2)
XYZxyz(34.5200, 19.9820, 26.4601)
Luminance0.1998 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7408B #40D78C
analogous
#D740D6 #D7408B #D74140
triadic
#D7408B #8BD740 #408BD7
tetradic
#D7408B #D6D740 #40D78C #4140D7
square
#D7408B #D6D740 #40D78C #4140D7
split-complementary
#D7408B #40D741 #40D6D7
monochromatic
#811B4E #B4266C #D7408B #E273AA #ECA5C8

Accessibility & contrast

On white

4.20
#D7408B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D7408B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7408B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7408B#FFFFFF#000000##000000
##D7408B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6A8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#E83360
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7408b;
/* rgb */ color: rgb(215, 64, 139);
/* oklch */ color: oklch(61.1% 0.198 354.2);
Tailwind
colors: {
  custom: {
    50: '#e880ac',
    500: '#d7408b',
    950: '#000000',
  },
}
SCSS
$custom: #d7408b;
$custom-light: #e880ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7408b",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 330.199,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61074,
    "c": 0.19834,
    "h": 354.2
  },
  "luminance": 0.19978
}

Semantic roles & 50–950 ramp

primary
#D7408B
secondary
#9AD9BA
accent
#E8943F
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7408B

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

Preview Lab → · Contrast checker → · Palette generator →

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