#812012#812012

#812012 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.134 H 31.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#812012
RGBrgb(129, 32, 18)
HSLhsl(8, 76%, 29%)
HSVhsv(8, 86%, 51%)
CMYKcmyk(0%, 75.2%, 86%, 49.4%)
CIE-LABlab(28.76, 40.56, 33.02)
CIE-LCHlch(28.76, 52.31, 39.15°)
OKLaboklab(40.14% 0.1146 0.0698)
OKLCHoklch(40.14% 0.134 31.3)
XYZxyz(9.6801, 5.7453, 1.1714)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812012 #127381
analogous
#81123C #812012 #815812
triadic
#812012 #128120 #201281
tetradic
#812012 #3C8112 #127381 #581281
square
#812012 #3C8112 #127381 #581281
split-complementary
#812012 #128158 #123C81
monochromatic
#1B0704 #4B130B #812012 #B72D19 #E2432C

Accessibility & contrast

On white

9.77
#812012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#812012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812012
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812012#FFFFFF#000000##FFFFFF
##8120121.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D360F
Deuteranopia (green-blind)
#554C0D
Tritanopia (blue-blind)
#8F001E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #812012;
/* rgb */ color: rgb(129, 32, 18);
/* oklch */ color: oklch(40.1% 0.134 31.3);
Tailwind
colors: {
  custom: {
    50: '#ae6351',
    500: '#812012',
    950: '#000000',
  },
}
SCSS
$custom: #812012;
$custom-light: #ae6351;
$custom-dark: #000000;
JSON
{
  "hex": "#812012",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 7.568,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40141,
    "c": 0.13421,
    "h": 31.3
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#812012
secondary
#38A7B7
accent
#DAF236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #812012

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

Preview Lab → · Contrast checker → · Palette generator →

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