#D5406F#D5406F

#D5406F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.9% C 0.187 H 5.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#D5406F
RGBrgb(213, 64, 111)
HSLhsl(341, 64%, 54%)
HSVhsv(341, 70%, 84%)
CMYKcmyk(0%, 70%, 47.9%, 16.5%)
CIE-LABlab(50.65, 61.10, 7.20)
CIE-LCHlch(50.65, 61.52, 6.73°)
OKLaboklab(59.88% 0.1865 0.019)
OKLCHoklch(59.88% 0.187 5.8)
XYZxyz(32.1458, 18.9648, 17.0037)
Luminance0.1896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5406F #40D5A6
analogous
#D540B9 #D5406F #D55C40
triadic
#D5406F #6FD540 #406FD5
tetradic
#D5406F #B9D540 #40D5A6 #5C40D5
square
#D5406F #B9D540 #40D5A6 #5C40D5
split-complementary
#D5406F #40D55C #40B9D5
monochromatic
#7F1C3B #B12752 #D5406F #E07295 #EBA4BB

Accessibility & contrast

On white

4.38
#D5406F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#D5406F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5406F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5406F#FFFFFF#000000##000000
##D5406F1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#626670
Deuteranopia (green-blind)
#8A836B
Tritanopia (blue-blind)
#E82653
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d5406f;
/* rgb */ color: rgb(213, 64, 111);
/* oklch */ color: oklch(59.9% 0.187 5.8);
Tailwind
colors: {
  custom: {
    50: '#e87f98',
    500: '#d5406f',
    950: '#000000',
  },
}
SCSS
$custom: #d5406f;
$custom-light: #e87f98;
$custom-dark: #000000;
JSON
{
  "hex": "#d5406f",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 111
  },
  "hsl": {
    "h": 341.074,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.18743,
    "h": 5.8
  },
  "luminance": 0.18961
}

Semantic roles & 50–950 ramp

primary
#D5406F
secondary
#99D8C4
accent
#E7B341
background
#FFF8F9
surface
#FEEFF2
border
#D6CACC
text
#170B0D
muted
#857C7E

Preview Lab

Preview with #D5406F

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

Preview Lab → · Contrast checker → · Palette generator →

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