#D04131#D04131

#D04131 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.0% C 0.182 H 29.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#D04131
RGBrgb(208, 65, 49)
HSLhsl(6, 63%, 50%)
HSVhsv(6, 76%, 82%)
CMYKcmyk(0%, 68.8%, 76.4%, 18.4%)
CIE-LABlab(48.78, 55.28, 41.19)
CIE-LCHlch(48.78, 68.94, 36.69°)
OKLaboklab(57.96% 0.158 0.0909)
OKLCHoklch(57.96% 0.182 29.9)
XYZxyz(28.4603, 17.4165, 4.7683)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04131 #31C0D0
analogous
#D03170 #D04131 #D09131
triadic
#D04131 #31D041 #4131D0
tetradic
#D04131 #70D031 #31C0D0 #9131D0
square
#D04131 #70D031 #31C0D0 #9131D0
split-complementary
#D04131 #31D091 #3170D0
monochromatic
#6E2219 #9F3124 #D04131 #DB6F63 #E79D95

Accessibility & contrast

On white

4.68
#D04131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#D04131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D04131
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04131#FFFFFF#000000##FFFFFF
##D041311.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A602E
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#E50E3E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #d04131;
/* rgb */ color: rgb(208, 65, 49);
/* oklch */ color: oklch(58.0% 0.182 29.9);
Tailwind
colors: {
  custom: {
    50: '#e77e6a',
    500: '#d04131',
    950: '#000000',
  },
}
SCSS
$custom: #d04131;
$custom-light: #e77e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#d04131",
  "rgb": {
    "r": 208,
    "g": 65,
    "b": 49
  },
  "hsl": {
    "h": 6.038,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.18229,
    "h": 29.9
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#D04131
secondary
#8BCBD2
accent
#D5E642
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D04131

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

Preview Lab → · Contrast checker → · Palette generator →

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