#812E31#812E31

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

Color values

HEX#812E31
RGBrgb(129, 46, 49)
HSLhsl(358, 47%, 34%)
HSVhsv(358, 64%, 51%)
CMYKcmyk(0%, 64.3%, 62%, 49.4%)
CIE-LABlab(31.45, 36.04, 17.21)
CIE-LCHlch(31.45, 39.94, 25.53°)
OKLaboklab(42.3% 0.1069 0.0418)
OKLCHoklch(42.3% 0.115 21.3)
XYZxyz(10.5856, 6.8443, 3.6688)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812E31 #2E817E
analogous
#812E5B #812E31 #81552E
triadic
#812E31 #31812E #2E3181
tetradic
#812E31 #5B812E #2E817E #552E81
square
#812E31 #5B812E #2E817E #552E81
split-complementary
#812E31 #2E8155 #2E5B81
monochromatic
#270E0F #541E20 #812E31 #AE3E42 #C76266

Accessibility & contrast

On white

8.87
#812E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812E31
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812E31#FFFFFF#000000##FFFFFF
##812E311.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F31
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#8D1E30
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812e31;
/* rgb */ color: rgb(129, 46, 49);
/* oklch */ color: oklch(42.3% 0.115 21.3);
Tailwind
colors: {
  custom: {
    50: '#ab6b69',
    500: '#812e31',
    950: '#000000',
  },
}
SCSS
$custom: #812e31;
$custom-light: #ab6b69;
$custom-dark: #000000;
JSON
{
  "hex": "#812e31",
  "rgb": {
    "r": 129,
    "g": 46,
    "b": 49
  },
  "hsl": {
    "h": 357.831,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.11479,
    "h": 21.3
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#812E31
secondary
#5DAEAB
accent
#D7D251
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #812E31

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

Preview Lab → · Contrast checker → · Palette generator →

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