#8D312A#8D312A

#8D312A is a dark, vivid red. Relative luminance 0.080; OKLCH L 44.6% C 0.127 H 27.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8D312A
RGBrgb(141, 49, 42)
HSLhsl(4, 54%, 36%)
HSVhsv(4, 70%, 55%)
CMYKcmyk(0%, 65.2%, 70.2%, 44.7%)
CIE-LABlab(34.04, 38.59, 25.33)
CIE-LCHlch(34.04, 46.16, 33.28°)
OKLaboklab(44.62% 0.1121 0.0588)
OKLCHoklch(44.62% 0.127 27.7)
XYZxyz(12.5020, 8.0282, 3.0813)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D312A #2A868D
analogous
#8D2A54 #8D312A #8D622A
triadic
#8D312A #2A8D31 #312A8D
tetradic
#8D312A #548D2A #2A868D #622A8D
square
#8D312A #548D2A #2A868D #622A8D
split-complementary
#8D312A #2A8D62 #2A548D
monochromatic
#2F100E #5E211C #8D312A #BC4138 #D06961

Accessibility & contrast

On white

8.06
#8D312A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8D312A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D312A
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D312A#FFFFFF#000000##FFFFFF
##8D312A1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4329
Deuteranopia (green-blind)
#615727
Tritanopia (blue-blind)
#9B1B30
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d312a;
/* rgb */ color: rgb(141, 49, 42);
/* oklch */ color: oklch(44.6% 0.127 27.7);
Tailwind
colors: {
  custom: {
    50: '#b56e64',
    500: '#8d312a',
    950: '#000000',
  },
}
SCSS
$custom: #8d312a;
$custom-light: #b56e64;
$custom-dark: #000000;
JSON
{
  "hex": "#8d312a",
  "rgb": {
    "r": 141,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 4.242,
    "s": 54.098,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.12652,
    "h": 27.7
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#8D312A
secondary
#5DB0B6
accent
#D3DD4A
background
#FBF6F5
surface
#F7ECEA
border
#D0C7C6
text
#120705
muted
#817A79

Preview Lab

Preview with #8D312A

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

Preview Lab → · Contrast checker → · Palette generator →

#8D312A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva