#D0312F#D0312F

#D0312F is a mid, vivid red. Relative luminance 0.158; OKLCH L 56.4% C 0.196 H 26.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D0312F
RGBrgb(208, 49, 47)
HSLhsl(1, 63%, 50%)
HSVhsv(1, 77%, 82%)
CMYKcmyk(0%, 76.4%, 77.4%, 18.4%)
CIE-LABlab(46.73, 60.81, 40.12)
CIE-LCHlch(46.73, 72.85, 33.41°)
OKLaboklab(56.43% 0.175 0.0881)
OKLCHoklch(56.43% 0.196 26.7)
XYZxyz(27.6271, 15.8161, 4.2869)
Luminance0.1581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0312F #2FCED0
analogous
#D02F7E #D0312F #D0812F
triadic
#D0312F #2FD031 #312FD0
tetradic
#D0312F #7ED02F #2FCED0 #812FD0
square
#D0312F #7ED02F #2FCED0 #812FD0
split-complementary
#D0312F #2FD081 #2F7ED0
monochromatic
#6C1918 #9E2524 #D0312F #DB6261 #E79493

Accessibility & contrast

On white

5.05
#D0312F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#D0312F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D0312F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0312F#FFFFFF#000000##FFFFFF
##D0312F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62592D
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#E50033
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d0312f;
/* rgb */ color: rgb(208, 49, 47);
/* oklch */ color: oklch(56.4% 0.196 26.7);
Tailwind
colors: {
  custom: {
    50: '#e87768',
    500: '#d0312f',
    950: '#000000',
  },
}
SCSS
$custom: #d0312f;
$custom-light: #e87768;
$custom-dark: #000000;
JSON
{
  "hex": "#d0312f",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.745,
    "s": 63.137,
    "l": 50
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.19587,
    "h": 26.7
  },
  "luminance": 0.15812
}

Semantic roles & 50–950 ramp

primary
#D0312F
secondary
#89D1D1
accent
#E4E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D0312F

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

Preview Lab → · Contrast checker → · Palette generator →

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