#811212#811212

#811212 is a dark, vivid red. Relative luminance 0.051; OKLCH L 38.9% C 0.145 H 27.3°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#811212
RGBrgb(129, 18, 18)
HSLhsl(0, 76%, 29%)
HSVhsv(0, 86%, 51%)
CMYKcmyk(0%, 86%, 86%, 49.4%)
CIE-LABlab(27.14, 45.09, 31.53)
CIE-LCHlch(27.14, 55.02, 34.96°)
OKLaboklab(38.94% 0.1288 0.0665)
OKLCHoklch(38.94% 0.145 27.3)
XYZxyz(9.3799, 5.1450, 1.0714)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811212 #128181
analogous
#81124A #811212 #814A12
triadic
#811212 #128112 #121281
tetradic
#811212 #4A8112 #128181 #4A1281
square
#811212 #4A8112 #128181 #4A1281
split-complementary
#811212 #12814A #124A81
monochromatic
#1B0404 #4B0B0B #811212 #B71919 #E22C2C

Accessibility & contrast

On white

10.35
#811212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#811212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811212
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811212#FFFFFF#000000##FFFFFF
##8112121.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373110
Deuteranopia (green-blind)
#52490C
Tritanopia (blue-blind)
#8F0014
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #811212;
/* rgb */ color: rgb(129, 18, 18);
/* oklch */ color: oklch(38.9% 0.145 27.3);
Tailwind
colors: {
  custom: {
    50: '#af5e51',
    500: '#811212',
    950: '#000000',
  },
}
SCSS
$custom: #811212;
$custom-light: #af5e51;
$custom-dark: #000000;
JSON
{
  "hex": "#811212",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 18
  },
  "hsl": {
    "h": 0,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.14493,
    "h": 27.3
  },
  "luminance": 0.05143
}

Semantic roles & 50–950 ramp

primary
#811212
secondary
#38B7B7
accent
#F2F236
background
#FBF5F4
surface
#F7EAE7
border
#D0C6C3
text
#120502
muted
#817978

Preview Lab

Preview with #811212

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

Preview Lab → · Contrast checker → · Palette generator →

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