#D7407D#D7407D

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

Color values

HEX#D7407D
RGBrgb(215, 64, 125)
HSLhsl(336, 65%, 55%)
HSVhsv(336, 70%, 84%)
CMYKcmyk(0%, 70.2%, 41.9%, 15.7%)
CIE-LABlab(51.38, 62.97, -0.13)
CIE-LCHlch(51.38, 62.97, 359.88°)
OKLaboklab(60.61% 0.193 0.0004)
OKLCHoklch(60.61% 0.193 0.1)
XYZxyz(33.5618, 19.5987, 21.4136)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7407D #40D79A
analogous
#D740C8 #D7407D #D74F40
triadic
#D7407D #7DD740 #407DD7
tetradic
#D7407D #C8D740 #40D79A #4F40D7
square
#D7407D #C8D740 #40D79A #4F40D7
split-complementary
#D7407D #40D74F #40C8D7
monochromatic
#811B44 #B4265F #D7407D #E2739F #ECA5C2

Accessibility & contrast

On white

4.27
#D7407D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7407D#FFFFFF#000000##000000
##D7407D1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#888579
Tritanopia (blue-blind)
#E92C59
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d7407d;
/* rgb */ color: rgb(215, 64, 125);
/* oklch */ color: oklch(60.6% 0.193 0.1);
Tailwind
colors: {
  custom: {
    50: '#e980a2',
    500: '#d7407d',
    950: '#000000',
  },
}
SCSS
$custom: #d7407d;
$custom-light: #e980a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d7407d",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 335.762,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6061,
    "c": 0.19302,
    "h": 0.1
  },
  "luminance": 0.19595
}

Semantic roles & 50–950 ramp

primary
#D7407D
secondary
#9AD9C0
accent
#E8A43F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0F
muted
#857C7E

Preview Lab

Preview with #D7407D

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

Preview Lab → · Contrast checker → · Palette generator →

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