#D04840#D04840

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

Color values

HEX#D04840
RGBrgb(208, 72, 64)
HSLhsl(3, 61%, 53%)
HSVhsv(3, 69%, 82%)
CMYKcmyk(0%, 65.4%, 69.2%, 18.4%)
CIE-LABlab(50.00, 53.12, 34.20)
CIE-LCHlch(50.00, 63.17, 32.77°)
OKLaboklab(58.94% 0.1542 0.0789)
OKLCHoklch(58.94% 0.173 27.1)
XYZxyz(29.2583, 18.4190, 6.8641)
Luminance0.1842 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04840 #40C8D0
analogous
#D04080 #D04840 #D09040
triadic
#D04840 #40D048 #4840D0
tetradic
#D04840 #80D040 #40C8D0 #9040D0
square
#D04840 #80D040 #40C8D0 #9040D0
split-complementary
#D04840 #40D090 #4080D0
monochromatic
#78231E #A9312A #D04840 #DC7771 #E8A6A2

Accessibility & contrast

On white

4.48
#D04840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D04840#FFFFFF#000000##000000
##D048401.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d04840;
/* rgb */ color: rgb(208, 72, 64);
/* oklch */ color: oklch(58.9% 0.173 27.1);
Tailwind
colors: {
  custom: {
    50: '#e68275',
    500: '#d04840',
    950: '#000000',
  },
}
SCSS
$custom: #d04840;
$custom-light: #e68275;
$custom-dark: #000000;
JSON
{
  "hex": "#d04840",
  "rgb": {
    "r": 208,
    "g": 72,
    "b": 64
  },
  "hsl": {
    "h": 3.333,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.17324,
    "h": 27.1
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#D04840
secondary
#97D1D5
accent
#DBE444
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B

Preview Lab

Preview with #D04840

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

Preview Lab → · Contrast checker → · Palette generator →

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