#D03231#D03231

#D03231 is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.5% C 0.195 H 26.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#D03231
RGBrgb(208, 50, 49)
HSLhsl(0, 63%, 50%)
HSVhsv(0, 76%, 82%)
CMYKcmyk(0%, 76%, 76.4%, 18.4%)
CIE-LABlab(46.87, 60.57, 39.15)
CIE-LCHlch(46.87, 72.12, 32.87°)
OKLaboklab(56.53% 0.1746 0.0865)
OKLCHoklch(56.53% 0.195 26.4)
XYZxyz(27.7107, 15.9172, 4.5184)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03231 #31CFD0
analogous
#D03180 #D03231 #D08131
triadic
#D03231 #31D032 #3231D0
tetradic
#D03231 #80D031 #31CFD0 #8131D0
square
#D03231 #80D031 #31CFD0 #8131D0
split-complementary
#D03231 #31D081 #3180D0
monochromatic
#6E1A19 #9F2524 #D03231 #DB6463 #E79595

Accessibility & contrast

On white

5.02
#D03231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#D03231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03231
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03231#FFFFFF#000000##FFFFFF
##D032311.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592F
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#E50034
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d03231;
/* rgb */ color: rgb(208, 50, 49);
/* oklch */ color: oklch(56.5% 0.195 26.4);
Tailwind
colors: {
  custom: {
    50: '#e8776a',
    500: '#d03231',
    950: '#000000',
  },
}
SCSS
$custom: #d03231;
$custom-light: #e8776a;
$custom-dark: #000000;
JSON
{
  "hex": "#d03231",
  "rgb": {
    "r": 208,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.377,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56533,
    "c": 0.19486,
    "h": 26.4
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#D03231
secondary
#8BD1D2
accent
#E5E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D03231

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

Preview Lab → · Contrast checker → · Palette generator →

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