#D5408E#D5408E

#D5408E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.198 H 352.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D5408E
RGBrgb(213, 64, 142)
HSLhsl(329, 64%, 54%)
HSVhsv(329, 70%, 84%)
CMYKcmyk(0%, 70%, 33.3%, 16.5%)
CIE-LABlab(51.58, 64.21, -10.07)
CIE-LCHlch(51.58, 65.00, 351.09°)
OKLaboklab(60.87% 0.1964 -0.0259)
OKLCHoklch(60.87% 0.198 352.5)
XYZxyz(34.1584, 19.7698, 27.6031)
Luminance0.1977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5408E #40D587
analogous
#D240D5 #D5408E #D54044
triadic
#D5408E #8ED540 #408ED5
tetradic
#D5408E #D5D240 #40D587 #4044D5
square
#D5408E #D5D240 #40D587 #4044D5
split-complementary
#D5408E #44D540 #40D5D2
monochromatic
#7F1C50 #B1276F #D5408E #E072AC #EBA4C9

Accessibility & contrast

On white

4.24
#D5408E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D5408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5408E
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5408E#FFFFFF#000000##000000
##D5408E1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#83858B
Tritanopia (blue-blind)
#E53561
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d5408e;
/* rgb */ color: rgb(213, 64, 142);
/* oklch */ color: oklch(60.9% 0.198 352.5);
Tailwind
colors: {
  custom: {
    50: '#e780af',
    500: '#d5408e',
    950: '#000000',
  },
}
SCSS
$custom: #d5408e;
$custom-light: #e780af;
$custom-dark: #000000;
JSON
{
  "hex": "#d5408e",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 328.591,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.1981,
    "h": 352.5
  },
  "luminance": 0.19766
}

Semantic roles & 50–950 ramp

primary
#D5408E
secondary
#99D8B7
accent
#E79041
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D5408E

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

Preview Lab → · Contrast checker → · Palette generator →

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