#D03331#D03331

#D03331 is a mid, vivid red. Relative luminance 0.160; OKLCH L 56.6% C 0.194 H 26.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D03331
RGBrgb(208, 51, 49)
HSLhsl(1, 63%, 50%)
HSVhsv(1, 76%, 82%)
CMYKcmyk(0%, 75.5%, 76.4%, 18.4%)
CIE-LABlab(46.98, 60.25, 39.27)
CIE-LCHlch(46.98, 71.92, 33.09°)
OKLaboklab(56.62% 0.1736 0.0867)
OKLCHoklch(56.62% 0.194 26.6)
XYZxyz(27.7539, 16.0037, 4.5328)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D03331 #31CED0
analogous
#D0317E #D03331 #D08331
triadic
#D03331 #31D033 #3331D0
tetradic
#D03331 #7ED031 #31CED0 #8331D0
square
#D03331 #7ED031 #31CED0 #8331D0
split-complementary
#D03331 #31D083 #317ED0
monochromatic
#6E1A19 #9F2624 #D03331 #DB6463 #E79695

Accessibility & contrast

On white

5.00
#D03331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#D03331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D03331
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D03331#FFFFFF#000000##FFFFFF
##D033311.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A2F
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#E50035
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d03331;
/* rgb */ color: rgb(208, 51, 49);
/* oklch */ color: oklch(56.6% 0.194 26.6);
Tailwind
colors: {
  custom: {
    50: '#e8776a',
    500: '#d03331',
    950: '#000000',
  },
}
SCSS
$custom: #d03331;
$custom-light: #e8776a;
$custom-dark: #000000;
JSON
{
  "hex": "#d03331",
  "rgb": {
    "r": 208,
    "g": 51,
    "b": 49
  },
  "hsl": {
    "h": 0.755,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.19408,
    "h": 26.6
  },
  "luminance": 0.15999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D03331

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

Preview Lab → · Contrast checker → · Palette generator →

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