#D7408C#D7408C

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

Color values

HEX#D7408C
RGBrgb(215, 64, 140)
HSLhsl(330, 65%, 55%)
HSVhsv(330, 70%, 84%)
CMYKcmyk(0%, 70.2%, 34.9%, 15.7%)
CIE-LABlab(51.85, 64.53, -8.43)
CIE-LCHlch(51.85, 65.08, 352.56°)
OKLaboklab(61.11% 0.1976 -0.0215)
OKLCHoklch(61.11% 0.199 353.8)
XYZxyz(34.5934, 20.0114, 26.8467)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7408C #40D78B
analogous
#D640D7 #D7408C #D74041
triadic
#D7408C #8CD740 #408CD7
tetradic
#D7408C #D7D640 #40D78B #4041D7
square
#D7408C #D7D640 #40D78B #4041D7
split-complementary
#D7408C #41D740 #40D7D6
monochromatic
#811B4F #B4266D #D7408C #E273AA #ECA5C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7408C#FFFFFF#000000##000000
##D7408C1.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)
#5B6A8E
Deuteranopia (green-blind)
#858689
Tritanopia (blue-blind)
#E73361
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7408c;
/* rgb */ color: rgb(215, 64, 140);
/* oklch */ color: oklch(61.1% 0.199 353.8);
Tailwind
colors: {
  custom: {
    50: '#e880ad',
    500: '#d7408c',
    950: '#000000',
  },
}
SCSS
$custom: #d7408c;
$custom-light: #e880ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7408c",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 329.801,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6111,
    "c": 0.19877,
    "h": 353.8
  },
  "luminance": 0.20007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7408C

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

Preview Lab → · Contrast checker → · Palette generator →

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