#831A1A#831A1A

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

Color values

HEX#831A1A
RGBrgb(131, 26, 26)
HSLhsl(0, 67%, 31%)
HSVhsv(0, 80%, 51%)
CMYKcmyk(0%, 80.2%, 80.2%, 48.6%)
CIE-LABlab(28.49, 43.64, 28.30)
CIE-LCHlch(28.49, 52.01, 32.96°)
OKLaboklab(40.04% 0.1257 0.0622)
OKLCHoklch(40.04% 0.14 26.3)
XYZxyz(9.9171, 5.6402, 1.5436)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A1A #1A8383
analogous
#831A4E #831A1A #834E1A
triadic
#831A1A #1A831A #1A1A83
tetradic
#831A1A #4E831A #1A8383 #4E1A83
square
#831A1A #4E831A #1A8383 #4E1A83
split-complementary
#831A1A #1A834E #1A4E83
monochromatic
#1D0606 #501010 #831A1A #B62424 #D93F3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A1A#FFFFFF#000000##FFFFFF
##831A1A1.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)
#3B3519
Deuteranopia (green-blind)
#554B16
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a1a;
/* rgb */ color: rgb(131, 26, 26);
/* oklch */ color: oklch(40.0% 0.140 26.3);
Tailwind
colors: {
  custom: {
    50: '#af6157',
    500: '#831a1a',
    950: '#000000',
  },
}
SCSS
$custom: #831a1a;
$custom-light: #af6157;
$custom-dark: #000000;
JSON
{
  "hex": "#831a1a",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40036,
    "c": 0.14022,
    "h": 26.3
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#831A1A
secondary
#42B7B7
accent
#EAEA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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