#831B1A#831B1A

#831B1A is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.139 H 26.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#831B1A
RGBrgb(131, 27, 26)
HSLhsl(1, 67%, 31%)
HSVhsv(1, 80%, 51%)
CMYKcmyk(0%, 79.4%, 80.2%, 48.6%)
CIE-LABlab(28.60, 43.31, 28.42)
CIE-LCHlch(28.60, 51.80, 33.28°)
OKLaboklab(40.12% 0.1247 0.0624)
OKLCHoklch(40.12% 0.139 26.6)
XYZxyz(9.9396, 5.6853, 1.5511)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B1A #1A8283
analogous
#831A4D #831B1A #834F1A
triadic
#831B1A #1A831B #1B1A83
tetradic
#831B1A #4D831A #1A8283 #4F1A83
square
#831B1A #4D831A #1A8283 #4F1A83
split-complementary
#831B1A #1A834F #1A4D83
monochromatic
#1D0606 #501010 #831B1A #B62624 #D9403F

Accessibility & contrast

On white

9.83
#831B1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#831B1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B1A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B1A#FFFFFF#000000##FFFFFF
##831B1A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831b1a;
/* rgb */ color: rgb(131, 27, 26);
/* oklch */ color: oklch(40.1% 0.139 26.6);
Tailwind
colors: {
  custom: {
    50: '#af6157',
    500: '#831b1a',
    950: '#000000',
  },
}
SCSS
$custom: #831b1a;
$custom-light: #af6157;
$custom-dark: #000000;
JSON
{
  "hex": "#831b1a",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 26
  },
  "hsl": {
    "h": 0.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.13941,
    "h": 26.6
  },
  "luminance": 0.05684
}

Semantic roles & 50–950 ramp

primary
#831B1A
secondary
#42B6B7
accent
#E8EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831B1A

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

Preview Lab → · Contrast checker → · Palette generator →

#831B1A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva