#D5407B#D5407B

#D5407B is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.2% C 0.191 H 0.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D5407B
RGBrgb(213, 64, 123)
HSLhsl(336, 64%, 54%)
HSVhsv(336, 70%, 84%)
CMYKcmyk(0%, 70%, 42.3%, 16.5%)
CIE-LABlab(50.98, 62.21, 0.44)
CIE-LCHlch(50.98, 62.21, 0.40°)
OKLaboklab(60.23% 0.1906 0.0019)
OKLCHoklch(60.23% 0.191 0.6)
XYZxyz(32.8515, 19.2471, 20.7202)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5407B #40D59A
analogous
#D540C5 #D5407B #D55040
triadic
#D5407B #7BD540 #407BD5
tetradic
#D5407B #C5D540 #40D59A #5040D5
square
#D5407B #C5D540 #40D59A #5040D5
split-complementary
#D5407B #40D550 #40C5D5
monochromatic
#7F1C43 #B1275E #D5407B #E0729E #EBA4C0

Accessibility & contrast

On white

4.33
#D5407B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D5407B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5407B
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5407B#FFFFFF#000000##000000
##D5407B1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F677D
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#E72C59
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5407b;
/* rgb */ color: rgb(213, 64, 123);
/* oklch */ color: oklch(60.2% 0.191 0.6);
Tailwind
colors: {
  custom: {
    50: '#e780a1',
    500: '#d5407b',
    950: '#000000',
  },
}
SCSS
$custom: #d5407b;
$custom-light: #e780a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d5407b",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 336.242,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.19064,
    "h": 0.6
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#D5407B
secondary
#99D8BF
accent
#E7A541
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D5407B

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

Preview Lab → · Contrast checker → · Palette generator →

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