#812E1F#812E1F

#812E1F is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.118 H 32.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#812E1F
RGBrgb(129, 46, 31)
HSLhsl(9, 61%, 31%)
HSVhsv(9, 76%, 51%)
CMYKcmyk(0%, 64.3%, 76%, 49.4%)
CIE-LABlab(31.16, 34.92, 28.09)
CIE-LCHlch(31.16, 44.82, 38.82°)
OKLaboklab(41.99% 0.0997 0.0632)
OKLCHoklch(41.99% 0.118 32.4)
XYZxyz(10.2787, 6.7215, 2.0522)
Luminance0.0672 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E1F #1F7281
analogous
#811F41 #812E1F #815F1F
triadic
#812E1F #1F812E #2E1F81
tetradic
#812E1F #41811F #1F7281 #5F1F81
square
#812E1F #41811F #1F7281 #5F1F81
split-complementary
#812E1F #1F815F #1F4181
monochromatic
#1E0B07 #501C13 #812E1F #B2402B #D35D47

Accessibility & contrast

On white

8.96
#812E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#812E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E1F
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E1F#FFFFFF#000000##FFFFFF
##812E1F1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1D
Deuteranopia (green-blind)
#59501C
Tritanopia (blue-blind)
#8E1A2B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812e1f;
/* rgb */ color: rgb(129, 46, 31);
/* oklch */ color: oklch(42.0% 0.118 32.4);
Tailwind
colors: {
  custom: {
    50: '#ac6b5b',
    500: '#812e1f',
    950: '#000000',
  },
}
SCSS
$custom: #812e1f;
$custom-light: #ac6b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#812e1f",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 31
  },
  "hsl": {
    "h": 9.184,
    "s": 61.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.11806,
    "h": 32.4
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#812E1F
secondary
#48A3B4
accent
#CCE443
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #812E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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