#D5404B#D5404B

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

Color values

HEX#D5404B
RGBrgb(213, 64, 75)
HSLhsl(356, 64%, 54%)
HSVhsv(356, 70%, 84%)
CMYKcmyk(0%, 70%, 64.8%, 16.5%)
CIE-LABlab(49.89, 58.49, 27.84)
CIE-LCHlch(49.89, 64.78, 25.46°)
OKLaboklab(59.07% 0.1728 0.0661)
OKLCHoklch(59.07% 0.185 20.9)
XYZxyz(30.5472, 18.3254, 8.5839)
Luminance0.1832 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5404B #40D5CA
analogous
#D54096 #D5404B #D57F40
triadic
#D5404B #4BD540 #404BD5
tetradic
#D5404B #96D540 #40D5CA #7F40D5
square
#D5404B #96D540 #40D5CA #7F40D5
split-complementary
#D5404B #40D57F #4096D5
monochromatic
#7F1C23 #B12731 #D5404B #E0727A #EBA4AA

Accessibility & contrast

On white

4.50
#D5404B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#D5404B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5404B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5404B#FFFFFF#000000##000000
##D5404B1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#69634A
Deuteranopia (green-blind)
#8E8247
Tritanopia (blue-blind)
#EA1245
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d5404b;
/* rgb */ color: rgb(213, 64, 75);
/* oklch */ color: oklch(59.1% 0.185 20.9);
Tailwind
colors: {
  custom: {
    50: '#ea7e7d',
    500: '#d5404b',
    950: '#000000',
  },
}
SCSS
$custom: #d5404b;
$custom-light: #ea7e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5404b",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 75
  },
  "hsl": {
    "h": 355.57,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59067,
    "c": 0.18501,
    "h": 20.9
  },
  "luminance": 0.18321
}

Semantic roles & 50–950 ramp

primary
#D5404B
secondary
#99D8D3
accent
#E7DB41
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B09
muted
#867C7B

Preview Lab

Preview with #D5404B

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

Preview Lab → · Contrast checker → · Palette generator →

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