#812E2F#812E2F

#812E2F is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.3% C 0.115 H 22.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#812E2F
RGBrgb(129, 46, 47)
HSLhsl(359, 47%, 34%)
HSVhsv(359, 64%, 51%)
CMYKcmyk(0%, 64.3%, 63.6%, 49.4%)
CIE-LABlab(31.41, 35.89, 18.45)
CIE-LCHlch(31.41, 40.35, 27.20°)
OKLaboklab(42.25% 0.1061 0.0444)
OKLCHoklch(42.25% 0.115 22.7)
XYZxyz(10.5443, 6.8278, 3.4514)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E2F #2E8180
analogous
#812E59 #812E2F #81572E
triadic
#812E2F #2F812E #2E2F81
tetradic
#812E2F #59812E #2E8180 #572E81
square
#812E2F #59812E #2E8180 #572E81
split-complementary
#812E2F #2E8157 #2E5981
monochromatic
#270E0E #541E1F #812E2F #AE3E3F #C76263

Accessibility & contrast

On white

8.88
#812E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#812E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812E2F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E2F#FFFFFF#000000##FFFFFF
##812E2F1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2E
Deuteranopia (green-blind)
#58502D
Tritanopia (blue-blind)
#8E1D2F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812e2f;
/* rgb */ color: rgb(129, 46, 47);
/* oklch */ color: oklch(42.3% 0.115 22.7);
Tailwind
colors: {
  custom: {
    50: '#ab6b67',
    500: '#812e2f',
    950: '#000000',
  },
}
SCSS
$custom: #812e2f;
$custom-light: #ab6b67;
$custom-dark: #000000;
JSON
{
  "hex": "#812e2f",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.277,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42254,
    "c": 0.115,
    "h": 22.7
  },
  "luminance": 0.06826
}

Semantic roles & 50–950 ramp

primary
#812E2F
secondary
#5DAEAD
accent
#D7D551
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #812E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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