#812D12#812D12

#812D12 is a dark, vivid red. Relative luminance 0.066; OKLCH L 41.7% C 0.122 H 37.3°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#812D12
RGBrgb(129, 45, 18)
HSLhsl(15, 76%, 29%)
HSVhsv(15, 86%, 51%)
CMYKcmyk(0%, 65.1%, 86%, 49.4%)
CIE-LABlab(30.85, 34.89, 34.93)
CIE-LCHlch(30.85, 49.37, 45.03°)
OKLaboklab(41.71% 0.0971 0.0741)
OKLCHoklch(41.71% 0.122 37.3)
XYZxyz(10.1020, 6.5890, 1.3120)
Luminance0.0659 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812D12 #126681
analogous
#81122F #812D12 #816512
triadic
#812D12 #12812D #2D1281
tetradic
#812D12 #2F8112 #126681 #651281
square
#812D12 #2F8112 #126681 #651281
split-complementary
#812D12 #128165 #122F81
monochromatic
#1B0904 #4B1A0B #812D12 #B74019 #E2582C

Accessibility & contrast

On white

9.06
#812D12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#812D12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812D12
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812D12#FFFFFF#000000##FFFFFF
##812D121.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0E
Deuteranopia (green-blind)
#5A500E
Tritanopia (blue-blind)
#8E1628
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812d12;
/* rgb */ color: rgb(129, 45, 18);
/* oklch */ color: oklch(41.7% 0.122 37.3);
Tailwind
colors: {
  custom: {
    50: '#ad6a52',
    500: '#812d12',
    950: '#000000',
  },
}
SCSS
$custom: #812d12;
$custom-light: #ad6a52;
$custom-dark: #000000;
JSON
{
  "hex": "#812d12",
  "rgb": {
    "r": 129,
    "g": 45,
    "b": 18
  },
  "hsl": {
    "h": 14.595,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41712,
    "c": 0.12214,
    "h": 37.3
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#812D12
secondary
#3898B7
accent
#C4F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120702
muted
#817A78

Preview Lab

Preview with #812D12

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

Preview Lab → · Contrast checker → · Palette generator →

#812D12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva