#D04740#D04740

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

Color values

HEX#D04740
RGBrgb(208, 71, 64)
HSLhsl(3, 61%, 53%)
HSVhsv(3, 69%, 82%)
CMYKcmyk(0%, 65.9%, 69.2%, 18.4%)
CIE-LABlab(49.85, 53.53, 34.01)
CIE-LCHlch(49.85, 63.43, 32.43°)
OKLaboklab(58.82% 0.1555 0.0785)
OKLCHoklch(58.82% 0.174 26.8)
XYZxyz(29.1942, 18.2907, 6.8427)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04740 #40C9D0
analogous
#D04081 #D04740 #D08F40
triadic
#D04740 #40D047 #4740D0
tetradic
#D04740 #81D040 #40C9D0 #8F40D0
square
#D04740 #81D040 #40C9D0 #8F40D0
split-complementary
#D04740 #40D08F #4081D0
monochromatic
#78221E #A9302A #D04740 #DC7671 #E8A6A2

Accessibility & contrast

On white

4.51
#D04740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04740#FFFFFF#000000##000000
##D047401.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D643E
Deuteranopia (green-blind)
#8F823C
Tritanopia (blue-blind)
#E42347
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04740;
/* rgb */ color: rgb(208, 71, 64);
/* oklch */ color: oklch(58.8% 0.174 26.8);
Tailwind
colors: {
  custom: {
    50: '#e68175',
    500: '#d04740',
    950: '#000000',
  },
}
SCSS
$custom: #d04740;
$custom-light: #e68175;
$custom-dark: #000000;
JSON
{
  "hex": "#d04740",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 64
  },
  "hsl": {
    "h": 2.917,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.17421,
    "h": 26.8
  },
  "luminance": 0.18287
}

Semantic roles & 50–950 ramp

primary
#D04740
secondary
#97D2D5
accent
#DCE444
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04740

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

Preview Lab → · Contrast checker → · Palette generator →

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