#D54040#D54040

#D54040 is a mid, vivid red. Relative luminance 0.182; OKLCH L 58.9% C 0.186 H 24.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#D54040
RGBrgb(213, 64, 64)
HSLhsl(0, 64%, 54%)
HSVhsv(0, 70%, 84%)
CMYKcmyk(0%, 70%, 70%, 16.5%)
CIE-LABlab(49.72, 57.91, 34.08)
CIE-LCHlch(49.72, 67.19, 30.48°)
OKLaboklab(58.89% 0.1687 0.0784)
OKLCHoklch(58.89% 0.186 24.9)
XYZxyz(30.2027, 18.1876, 6.7697)
Luminance0.1818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54040 #40D5D5
analogous
#D5408B #D54040 #D58B40
triadic
#D54040 #40D540 #4040D5
tetradic
#D54040 #8BD540 #40D5D5 #8B40D5
square
#D54040 #8BD540 #40D5D5 #8B40D5
split-complementary
#D54040 #40D58B #408BD5
monochromatic
#7F1C1C #B12727 #D54040 #E07272 #EBA4A4

Accessibility & contrast

On white

4.53
#D54040 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#D54040 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54040
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54040#FFFFFF#000000##000000
##D540401.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A623E
Deuteranopia (green-blind)
#90823B
Tritanopia (blue-blind)
#EA0A42
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #d54040;
/* rgb */ color: rgb(213, 64, 64);
/* oklch */ color: oklch(58.9% 0.186 24.9);
Tailwind
colors: {
  custom: {
    50: '#ea7e75',
    500: '#d54040',
    950: '#000000',
  },
}
SCSS
$custom: #d54040;
$custom-light: #ea7e75;
$custom-dark: #000000;
JSON
{
  "hex": "#d54040",
  "rgb": {
    "r": 213,
    "g": 64,
    "b": 64
  },
  "hsl": {
    "h": 0,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5889,
    "c": 0.18607,
    "h": 24.9
  },
  "luminance": 0.18183
}

Semantic roles & 50–950 ramp

primary
#D54040
secondary
#99D8D8
accent
#E7E741
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B

Preview Lab

Preview with #D54040

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

Preview Lab → · Contrast checker → · Palette generator →

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