#D04340#D04340

#D04340 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.4% C 0.178 H 25.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#D04340
RGBrgb(208, 67, 64)
HSLhsl(1, 61%, 53%)
HSVhsv(1, 69%, 82%)
CMYKcmyk(0%, 67.8%, 69.2%, 18.4%)
CIE-LABlab(49.25, 55.15, 33.30)
CIE-LCHlch(49.25, 64.43, 31.13°)
OKLaboklab(58.37% 0.1606 0.077)
OKLCHoklch(58.37% 0.178 25.6)
XYZxyz(28.9481, 17.7986, 6.7607)
Luminance0.1779 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04340 #40CDD0
analogous
#D04085 #D04340 #D08B40
triadic
#D04340 #40D043 #4340D0
tetradic
#D04340 #85D040 #40CDD0 #8B40D0
square
#D04340 #85D040 #40CDD0 #8B40D0
split-complementary
#D04340 #40D08B #4085D0
monochromatic
#781F1E #A92C2A #D04340 #DC7371 #E8A4A2

Accessibility & contrast

On white

4.61
#D04340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#D04340 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04340
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04340#FFFFFF#000000##FFFFFF
##D043401.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A623E
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#E41A44
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d04340;
/* rgb */ color: rgb(208, 67, 64);
/* oklch */ color: oklch(58.4% 0.178 25.6);
Tailwind
colors: {
  custom: {
    50: '#e67f75',
    500: '#d04340',
    950: '#000000',
  },
}
SCSS
$custom: #d04340;
$custom-light: #e67f75;
$custom-dark: #000000;
JSON
{
  "hex": "#d04340",
  "rgb": {
    "r": 208,
    "g": 67,
    "b": 64
  },
  "hsl": {
    "h": 1.25,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.17811,
    "h": 25.6
  },
  "luminance": 0.17794
}

Semantic roles & 50–950 ramp

primary
#D04340
secondary
#97D4D5
accent
#E0E444
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04340

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

Preview Lab → · Contrast checker → · Palette generator →

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