#D0402D#D0402D

#D0402D is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.8% C 0.184 H 30.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#D0402D
RGBrgb(208, 64, 45)
HSLhsl(7, 64%, 50%)
HSVhsv(7, 78%, 82%)
CMYKcmyk(0%, 69.2%, 78.4%, 18.4%)
CIE-LABlab(48.60, 55.52, 43.14)
CIE-LCHlch(48.60, 70.31, 37.85°)
OKLaboklab(57.81% 0.158 0.094)
OKLCHoklch(57.81% 0.184 30.8)
XYZxyz(28.3227, 17.2704, 4.3243)
Luminance0.1727 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0402D #2DBDD0
analogous
#D02D6B #D0402D #D0922D
triadic
#D0402D #2DD040 #402DD0
tetradic
#D0402D #6BD02D #2DBDD0 #922DD0
square
#D0402D #6BD02D #2DBDD0 #922DD0
split-complementary
#D0402D #2DD092 #2D6BD0
monochromatic
#6B2117 #9E3122 #D0402D #DC6D5E #E79A90

Accessibility & contrast

On white

4.72
#D0402D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#D0402D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0402D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0402D#FFFFFF#000000##FFFFFF
##D0402D1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#E5073D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d0402d;
/* rgb */ color: rgb(208, 64, 45);
/* oklch */ color: oklch(57.8% 0.184 30.8);
Tailwind
colors: {
  custom: {
    50: '#e87d67',
    500: '#d0402d',
    950: '#000000',
  },
}
SCSS
$custom: #d0402d;
$custom-light: #e87d67;
$custom-dark: #000000;
JSON
{
  "hex": "#d0402d",
  "rgb": {
    "r": 208,
    "g": 64,
    "b": 45
  },
  "hsl": {
    "h": 6.994,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.18384,
    "h": 30.8
  },
  "luminance": 0.17266
}

Semantic roles & 50–950 ramp

primary
#D0402D
secondary
#87C9D2
accent
#D4E740
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D0402D

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

Preview Lab → · Contrast checker → · Palette generator →

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