#81312E#81312E

#81312E is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.112 H 25.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#81312E
RGBrgb(129, 49, 46)
HSLhsl(2, 47%, 34%)
HSVhsv(2, 64%, 51%)
CMYKcmyk(0%, 62%, 64.3%, 49.4%)
CIE-LABlab(31.95, 34.34, 19.77)
CIE-LCHlch(31.95, 39.63, 29.93°)
OKLaboklab(42.65% 0.101 0.0473)
OKLCHoklch(42.65% 0.112 25.1)
XYZxyz(10.6457, 7.0624, 3.3868)
Luminance0.0706 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81312E #2E7E81
analogous
#812E55 #81312E #815B2E
triadic
#81312E #2E8131 #312E81
tetradic
#81312E #55812E #2E7E81 #5B2E81
square
#81312E #55812E #2E7E81 #5B2E81
split-complementary
#81312E #2E815B #2E5581
monochromatic
#270F0E #54201E #81312E #AE423E #C76662

Accessibility & contrast

On white

8.71
#81312E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#81312E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #81312E
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81312E#FFFFFF#000000##FFFFFF
##81312E1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45402D
Deuteranopia (green-blind)
#59522C
Tritanopia (blue-blind)
#8D2131
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #81312e;
/* rgb */ color: rgb(129, 49, 46);
/* oklch */ color: oklch(42.7% 0.112 25.1);
Tailwind
colors: {
  custom: {
    50: '#ab6d66',
    500: '#81312e',
    950: '#000000',
  },
}
SCSS
$custom: #81312e;
$custom-light: #ab6d66;
$custom-dark: #000000;
JSON
{
  "hex": "#81312e",
  "rgb": {
    "r": 129,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 2.169,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42652,
    "c": 0.11155,
    "h": 25.1
  },
  "luminance": 0.07061
}

Semantic roles & 50–950 ramp

primary
#81312E
secondary
#5DABAE
accent
#D2D751
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #81312E

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

Preview Lab → · Contrast checker → · Palette generator →

#81312E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva