#D02E31#D02E31

#D02E31 is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.198 H 25.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D02E31
RGBrgb(208, 46, 49)
HSLhsl(359, 64%, 50%)
HSVhsv(359, 78%, 82%)
CMYKcmyk(0%, 77.9%, 76.4%, 18.4%)
CIE-LABlab(46.43, 61.79, 38.68)
CIE-LCHlch(46.43, 72.89, 32.05°)
OKLaboklab(56.21% 0.1785 0.0855)
OKLCHoklch(56.21% 0.198 25.6)
XYZxyz(27.5471, 15.5900, 4.4639)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D02E31 #2ED0CD
analogous
#D02E82 #D02E31 #D07C2E
triadic
#D02E31 #31D02E #2E31D0
tetradic
#D02E31 #82D02E #2ED0CD #7C2ED0
square
#D02E31 #82D02E #2ED0CD #7C2ED0
split-complementary
#D02E31 #2ED07C #2E82D0
monochromatic
#6C1819 #9E2325 #D02E31 #DC5F62 #E79293

Accessibility & contrast

On white

5.10
#D02E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#D02E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D02E31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D02E31#FFFFFF#000000##FFFFFF
##D02E311.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61582F
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#E50031
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #d02e31;
/* rgb */ color: rgb(208, 46, 49);
/* oklch */ color: oklch(56.2% 0.198 25.6);
Tailwind
colors: {
  custom: {
    50: '#e8756a',
    500: '#d02e31',
    950: '#000000',
  },
}
SCSS
$custom: #d02e31;
$custom-light: #e8756a;
$custom-dark: #000000;
JSON
{
  "hex": "#d02e31",
  "rgb": {
    "r": 208,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 358.889,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.19786,
    "h": 25.6
  },
  "luminance": 0.15586
}

Semantic roles & 50–950 ramp

primary
#D02E31
secondary
#88D2D0
accent
#E7E441
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A

Preview Lab

Preview with #D02E31

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

Preview Lab → · Contrast checker → · Palette generator →

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