#D7407E#D7407E

#D7407E is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.6% C 0.193 H 359.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#D7407E
RGBrgb(215, 64, 126)
HSLhsl(335, 65%, 55%)
HSVhsv(335, 70%, 84%)
CMYKcmyk(0%, 70.2%, 41.4%, 15.7%)
CIE-LABlab(51.41, 63.07, -0.69)
CIE-LCHlch(51.41, 63.07, 359.37°)
OKLaboklab(60.64% 0.1934 -0.0011)
OKLCHoklch(60.64% 0.193 359.7)
XYZxyz(33.6260, 19.6244, 21.7518)
Luminance0.1962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7407E #40D799
analogous
#D740CA #D7407E #D74D40
triadic
#D7407E #7ED740 #407ED7
tetradic
#D7407E #CAD740 #40D799 #4D40D7
square
#D7407E #CAD740 #40D799 #4D40D7
split-complementary
#D7407E #40D74D #40CAD7
monochromatic
#811B45 #B42660 #D7407E #E273A0 #ECA5C2

Accessibility & contrast

On white

4.26
#D7407E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#D7407E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7407E
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7407E#FFFFFF#000000##000000
##D7407E1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6880
Deuteranopia (green-blind)
#88857A
Tritanopia (blue-blind)
#E92C5A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d7407e;
/* rgb */ color: rgb(215, 64, 126);
/* oklch */ color: oklch(60.6% 0.193 359.7);
Tailwind
colors: {
  custom: {
    50: '#e980a3',
    500: '#d7407e',
    950: '#000000',
  },
}
SCSS
$custom: #d7407e;
$custom-light: #e980a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d7407e",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 335.364,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60641,
    "c": 0.19335,
    "h": 359.7
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#D7407E
secondary
#9AD9BF
accent
#E8A33F
background
#FFF8FA
surface
#FEEFF3
border
#D6CACD
text
#170B0F
muted
#857C7F

Preview Lab

Preview with #D7407E

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

Preview Lab → · Contrast checker → · Palette generator →

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