#D5404E#D5404E

#D5404E is a mid, vivid red. Relative luminance 0.184; OKLCH L 59.1% C 0.185 H 19.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#D5404E
RGBrgb(213, 64, 78)
HSLhsl(354, 64%, 54%)
HSVhsv(354, 70%, 84%)
CMYKcmyk(0%, 70%, 63.4%, 16.5%)
CIE-LABlab(49.94, 58.66, 26.12)
CIE-LCHlch(49.94, 64.22, 24.00°)
OKLaboklab(59.12% 0.174 0.0625)
OKLCHoklch(59.12% 0.185 19.8)
XYZxyz(30.6523, 18.3674, 9.1375)
Luminance0.1836 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5404E #40D5C7
analogous
#D54099 #D5404E #D57C40
triadic
#D5404E #4ED540 #404ED5
tetradic
#D5404E #99D540 #40D5C7 #7C40D5
square
#D5404E #99D540 #40D5C7 #7C40D5
split-complementary
#D5404E #40D57C #4099D5
monochromatic
#7F1C25 #B12734 #D5404E #E0727C #EBA4AB

Accessibility & contrast

On white

4.49
#D5404E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#D5404E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5404E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5404E#FFFFFF#000000##000000
##D5404E1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68634D
Deuteranopia (green-blind)
#8E824A
Tritanopia (blue-blind)
#E91446
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d5404e;
/* rgb */ color: rgb(213, 64, 78);
/* oklch */ color: oklch(59.1% 0.185 19.8);
Tailwind
colors: {
  custom: {
    50: '#e97f7f',
    500: '#d5404e',
    950: '#000000',
  },
}
SCSS
$custom: #d5404e;
$custom-light: #e97f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5404e",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 78
  },
  "hsl": {
    "h": 354.362,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.18485,
    "h": 19.8
  },
  "luminance": 0.18363
}

Semantic roles & 50–950 ramp

primary
#D5404E
secondary
#99D8D2
accent
#E7D741
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B0A
muted
#867C7C

Preview Lab

Preview with #D5404E

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

Preview Lab → · Contrast checker → · Palette generator →

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