#812212#812212

#812212 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.132 H 32.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#812212
RGBrgb(129, 34, 18)
HSLhsl(9, 76%, 29%)
HSVhsv(9, 86%, 51%)
CMYKcmyk(0%, 73.6%, 86%, 49.4%)
CIE-LABlab(29.05, 39.77, 33.28)
CIE-LCHlch(29.05, 51.86, 39.92°)
OKLaboklab(40.36% 0.1122 0.0704)
OKLCHoklch(40.36% 0.132 32.1)
XYZxyz(9.7356, 5.8564, 1.1899)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812212 #127181
analogous
#81123A #812212 #815A12
triadic
#812212 #128122 #221281
tetradic
#812212 #3A8112 #127181 #5A1281
square
#812212 #3A8112 #127181 #5A1281
split-complementary
#812212 #12815A #123A81
monochromatic
#1B0704 #4B140B #812212 #B73019 #E2462C

Accessibility & contrast

On white

9.67
#812212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#812212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812212
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812212#FFFFFF#000000##FFFFFF
##8122121.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#564C0D
Tritanopia (blue-blind)
#8F001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #812212;
/* rgb */ color: rgb(129, 34, 18);
/* oklch */ color: oklch(40.4% 0.132 32.1);
Tailwind
colors: {
  custom: {
    50: '#ae6452',
    500: '#812212',
    950: '#000000',
  },
}
SCSS
$custom: #812212;
$custom-light: #ae6452;
$custom-dark: #000000;
JSON
{
  "hex": "#812212",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 8.649,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.13244,
    "h": 32.1
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#812212
secondary
#38A4B7
accent
#D7F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #812212

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

Preview Lab → · Contrast checker → · Palette generator →

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