#D7407B#D7407B

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

Color values

HEX#D7407B
RGBrgb(215, 64, 123)
HSLhsl(337, 65%, 55%)
HSVhsv(337, 70%, 84%)
CMYKcmyk(0%, 70.2%, 42.8%, 15.7%)
CIE-LABlab(51.32, 62.78, 0.98)
CIE-LCHlch(51.32, 62.79, 0.90°)
OKLaboklab(60.55% 0.1924 0.0033)
OKLCHoklch(60.55% 0.192 1)
XYZxyz(33.4354, 19.5481, 20.7475)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7407B #40D79C
analogous
#D740C7 #D7407B #D75040
triadic
#D7407B #7BD740 #407BD7
tetradic
#D7407B #C7D740 #40D79C #5040D7
square
#D7407B #C7D740 #40D79C #5040D7
split-complementary
#D7407B #40D750 #40C7D7
monochromatic
#811B43 #B4265D #D7407B #E2739E #ECA5C1

Accessibility & contrast

On white

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

On black

4.91
#D7407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7407B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7407B#FFFFFF#000000##000000
##D7407B1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#60687C
Deuteranopia (green-blind)
#898577
Tritanopia (blue-blind)
#E92B59
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d7407b;
/* rgb */ color: rgb(215, 64, 123);
/* oklch */ color: oklch(60.5% 0.192 1.0);
Tailwind
colors: {
  custom: {
    50: '#e980a1',
    500: '#d7407b',
    950: '#000000',
  },
}
SCSS
$custom: #d7407b;
$custom-light: #e980a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d7407b",
  "rgb": {
    "r": 215,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 336.556,
    "s": 65.368,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60548,
    "c": 0.19239,
    "h": 1
  },
  "luminance": 0.19544
}

Semantic roles & 50–950 ramp

primary
#D7407B
secondary
#9AD9C0
accent
#E8A63F
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D7407B

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

Preview Lab → · Contrast checker → · Palette generator →

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