#D5404F#D5404F

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

Color values

HEX#D5404F
RGBrgb(213, 64, 79)
HSLhsl(354, 64%, 54%)
HSVhsv(354, 70%, 84%)
CMYKcmyk(0%, 70%, 62.9%, 16.5%)
CIE-LABlab(49.96, 58.72, 25.55)
CIE-LCHlch(49.96, 64.04, 23.51°)
OKLaboklab(59.14% 0.1743 0.0613)
OKLCHoklch(59.14% 0.185 19.4)
XYZxyz(30.6884, 18.3818, 9.3277)
Luminance0.1838 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5404F #40D5C6
analogous
#D54099 #D5404F #D57C40
triadic
#D5404F #4FD540 #404FD5
tetradic
#D5404F #99D540 #40D5C6 #7C40D5
square
#D5404F #99D540 #40D5C6 #7C40D5
split-complementary
#D5404F #40D57C #4099D5
monochromatic
#7F1C26 #B12735 #D5404F #E0727D #EBA4AB

Accessibility & contrast

On white

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

On black

4.68
#D5404F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D5404F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5404F#FFFFFF#000000##000000
##D5404F1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#68634F
Deuteranopia (green-blind)
#8E824B
Tritanopia (blue-blind)
#E91447
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d5404f;
/* rgb */ color: rgb(213, 64, 79);
/* oklch */ color: oklch(59.1% 0.185 19.4);
Tailwind
colors: {
  custom: {
    50: '#e97f80',
    500: '#d5404f',
    950: '#000000',
  },
}
SCSS
$custom: #d5404f;
$custom-light: #e97f80;
$custom-dark: #000000;
JSON
{
  "hex": "#d5404f",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 353.96,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5914,
    "c": 0.1848,
    "h": 19.4
  },
  "luminance": 0.18377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5404F

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

Preview Lab → · Contrast checker → · Palette generator →

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