#D7407F#D7407F

#D7407F is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.194 H 359.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#D7407F
RGBrgb(215, 64, 127)
HSLhsl(335, 65%, 55%)
HSVhsv(335, 70%, 84%)
CMYKcmyk(0%, 70.2%, 40.9%, 15.7%)
CIE-LABlab(51.44, 63.17, -1.25)
CIE-LCHlch(51.44, 63.18, 358.87°)
OKLaboklab(60.67% 0.1937 -0.0025)
OKLCHoklch(60.67% 0.194 359.3)
XYZxyz(33.6909, 19.6503, 22.0933)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7407F #40D798
analogous
#D740CA #D7407F #D74D40
triadic
#D7407F #7FD740 #407FD7
tetradic
#D7407F #CAD740 #40D798 #4D40D7
square
#D7407F #CAD740 #40D798 #4D40D7
split-complementary
#D7407F #40D74D #40CAD7
monochromatic
#811B46 #B42661 #D7407F #E273A1 #ECA5C3

Accessibility & contrast

On white

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

On black

4.93
#D7407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7407F
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7407F#FFFFFF#000000##000000
##D7407F1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6881
Deuteranopia (green-blind)
#88857B
Tritanopia (blue-blind)
#E92D5A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d7407f;
/* rgb */ color: rgb(215, 64, 127);
/* oklch */ color: oklch(60.7% 0.194 359.3);
Tailwind
colors: {
  custom: {
    50: '#e980a4',
    500: '#d7407f',
    950: '#000000',
  },
}
SCSS
$custom: #d7407f;
$custom-light: #e980a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d7407f",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 334.967,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.19369,
    "h": 359.3
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7407F

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

Preview Lab → · Contrast checker → · Palette generator →

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