#D0312E#D0312E

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

Color values

HEX#D0312E
RGBrgb(208, 49, 46)
HSLhsl(1, 64%, 50%)
HSVhsv(1, 78%, 82%)
CMYKcmyk(0%, 76.4%, 77.9%, 18.4%)
CIE-LABlab(46.72, 60.78, 40.66)
CIE-LCHlch(46.72, 73.12, 33.78°)
OKLaboklab(56.42% 0.1746 0.0889)
OKLCHoklch(56.42% 0.196 27)
XYZxyz(27.6072, 15.8082, 4.1819)
Luminance0.1580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0312E #2ECDD0
analogous
#D02E7C #D0312E #D0822E
triadic
#D0312E #2ED031 #312ED0
tetradic
#D0312E #7CD02E #2ECDD0 #822ED0
square
#D0312E #7CD02E #2ECDD0 #822ED0
split-complementary
#D0312E #2ED082 #2E7CD0
monochromatic
#6C1918 #9E2523 #D0312E #DC625F #E79392

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0312E#FFFFFF#000000##FFFFFF
##D0312E1.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)
#62592C
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#E50033
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #d0312e;
/* rgb */ color: rgb(208, 49, 46);
/* oklch */ color: oklch(56.4% 0.196 27.0);
Tailwind
colors: {
  custom: {
    50: '#e87668',
    500: '#d0312e',
    950: '#000000',
  },
}
SCSS
$custom: #d0312e;
$custom-light: #e87668;
$custom-dark: #000000;
JSON
{
  "hex": "#d0312e",
  "rgb": {
    "r": 208,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.111,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.19598,
    "h": 27
  },
  "luminance": 0.15804
}

Semantic roles & 50–950 ramp

primary
#D0312E
secondary
#88D0D2
accent
#E4E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180A06
muted
#867C7A

Preview Lab

Preview with #D0312E

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

Preview Lab → · Contrast checker → · Palette generator →

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