#D04140#D04140

#D04140 is a mid, vivid red. Relative luminance 0.176; OKLCH L 58.2% C 0.180 H 25.0°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#D04140
RGBrgb(208, 65, 64)
HSLhsl(0, 61%, 53%)
HSVhsv(0, 69%, 82%)
CMYKcmyk(0%, 68.8%, 69.2%, 18.4%)
CIE-LABlab(48.96, 55.94, 32.96)
CIE-LCHlch(48.96, 64.93, 30.51°)
OKLaboklab(58.16% 0.1631 0.0762)
OKLCHoklch(58.16% 0.18 25)
XYZxyz(28.8312, 17.5649, 6.7217)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04140 #40CFD0
analogous
#D04087 #D04140 #D08940
triadic
#D04140 #40D041 #4140D0
tetradic
#D04140 #87D040 #40CFD0 #8940D0
square
#D04140 #87D040 #40CFD0 #8940D0
split-complementary
#D04140 #40D089 #4087D0
monochromatic
#781E1E #A92B2A #D04140 #DC7271 #E8A3A2

Accessibility & contrast

On white

4.65
#D04140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#D04140 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D04140
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04140#FFFFFF#000000##FFFFFF
##D041401.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69613F
Deuteranopia (green-blind)
#8D803C
Tritanopia (blue-blind)
#E41542
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d04140;
/* rgb */ color: rgb(208, 65, 64);
/* oklch */ color: oklch(58.2% 0.180 25.0);
Tailwind
colors: {
  custom: {
    50: '#e67e75',
    500: '#d04140',
    950: '#000000',
  },
}
SCSS
$custom: #d04140;
$custom-light: #e67e75;
$custom-dark: #000000;
JSON
{
  "hex": "#d04140",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 64
  },
  "hsl": {
    "h": 0.417,
    "s": 60.504,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58158,
    "c": 0.18002,
    "h": 25
  },
  "luminance": 0.17561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D04140

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

Preview Lab → · Contrast checker → · Palette generator →

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