#D7407A#D7407A

#D7407A is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.5% C 0.192 H 1.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#D7407A
RGBrgb(215, 64, 122)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 70%, 84%)
CMYKcmyk(0%, 70.2%, 43.3%, 15.7%)
CIE-LABlab(51.29, 62.68, 1.54)
CIE-LCHlch(51.29, 62.70, 1.41°)
OKLaboklab(60.52% 0.192 0.0047)
OKLCHoklch(60.52% 0.192 1.4)
XYZxyz(33.3731, 19.5232, 20.4195)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7407A #40D79D
analogous
#D740C5 #D7407A #D75240
triadic
#D7407A #7AD740 #407AD7
tetradic
#D7407A #C5D740 #40D79D #5240D7
square
#D7407A #C5D740 #40D79D #5240D7
split-complementary
#D7407A #40D752 #40C5D7
monochromatic
#811B42 #B4265C #D7407A #E2739D #ECA5C0

Accessibility & contrast

On white

4.28
#D7407A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#D7407A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7407A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7407A#FFFFFF#000000##000000
##D7407A1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687B
Deuteranopia (green-blind)
#898576
Tritanopia (blue-blind)
#E92A58
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d7407a;
/* rgb */ color: rgb(215, 64, 122);
/* oklch */ color: oklch(60.5% 0.192 1.4);
Tailwind
colors: {
  custom: {
    50: '#e980a0',
    500: '#d7407a',
    950: '#000000',
  },
}
SCSS
$custom: #d7407a;
$custom-light: #e980a0;
$custom-dark: #000000;
JSON
{
  "hex": "#d7407a",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 336.954,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60518,
    "c": 0.19208,
    "h": 1.4
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#D7407A
secondary
#9AD9C1
accent
#E8A73F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7407A

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

Preview Lab → · Contrast checker → · Palette generator →

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