#831A1B#831A1B

#831A1B is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.140 H 25.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#831A1B
RGBrgb(131, 26, 27)
HSLhsl(359, 67%, 31%)
HSVhsv(359, 80%, 51%)
CMYKcmyk(0%, 80.2%, 79.4%, 48.6%)
CIE-LABlab(28.50, 43.68, 27.70)
CIE-LCHlch(28.50, 51.72, 32.38°)
OKLaboklab(40.05% 0.126 0.0612)
OKLCHoklch(40.05% 0.14 25.9)
XYZxyz(9.9285, 5.6448, 1.6035)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A1B #1A8382
analogous
#831A4F #831A1B #834D1A
triadic
#831A1B #1B831A #1A1B83
tetradic
#831A1B #4F831A #1A8382 #4D1A83
square
#831A1B #4F831A #1A8382 #4D1A83
split-complementary
#831A1B #1A834D #1A4F83
monochromatic
#1D0606 #501010 #831A1B #B62426 #D93F40

Accessibility & contrast

On white

9.87
#831A1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#831A1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A1B
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A1B#FFFFFF#000000##FFFFFF
##831A1B1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a1b;
/* rgb */ color: rgb(131, 26, 27);
/* oklch */ color: oklch(40.0% 0.140 25.9);
Tailwind
colors: {
  custom: {
    50: '#af6157',
    500: '#831a1b',
    950: '#000000',
  },
}
SCSS
$custom: #831a1b;
$custom-light: #af6157;
$custom-dark: #000000;
JSON
{
  "hex": "#831a1b",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 27
  },
  "hsl": {
    "h": 359.429,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.1401,
    "h": 25.9
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#831A1B
secondary
#42B7B6
accent
#EAE83E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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