#812412#812412

#812412 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.6% C 0.131 H 32.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#812412
RGBrgb(129, 36, 18)
HSLhsl(10, 76%, 29%)
HSVhsv(10, 86%, 51%)
CMYKcmyk(0%, 72.1%, 86%, 49.4%)
CIE-LABlab(29.35, 38.95, 33.56)
CIE-LCHlch(29.35, 51.42, 40.75°)
OKLaboklab(40.58% 0.1096 0.071)
OKLCHoklch(40.58% 0.131 32.9)
XYZxyz(9.7945, 5.9741, 1.2095)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812412 #126F81
analogous
#811238 #812412 #815C12
triadic
#812412 #128124 #241281
tetradic
#812412 #388112 #126F81 #5C1281
square
#812412 #388112 #126F81 #5C1281
split-complementary
#812412 #12815C #123881
monochromatic
#1B0704 #4B150B #812412 #B73319 #E2492C

Accessibility & contrast

On white

9.57
#812412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#812412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812412
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812412#FFFFFF#000000##FFFFFF
##8124121.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380F
Deuteranopia (green-blind)
#574D0D
Tritanopia (blue-blind)
#8F0021
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #812412;
/* rgb */ color: rgb(129, 36, 18);
/* oklch */ color: oklch(40.6% 0.131 32.9);
Tailwind
colors: {
  custom: {
    50: '#ae6552',
    500: '#812412',
    950: '#000000',
  },
}
SCSS
$custom: #812412;
$custom-light: #ae6552;
$custom-dark: #000000;
JSON
{
  "hex": "#812412",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 18
  },
  "hsl": {
    "h": 9.73,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4058,
    "c": 0.13062,
    "h": 32.9
  },
  "luminance": 0.05973
}

Semantic roles & 50–950 ramp

primary
#812412
secondary
#38A2B7
accent
#D4F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #812412

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

Preview Lab → · Contrast checker → · Palette generator →

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