#831A1F#831A1F

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

Color values

HEX#831A1F
RGBrgb(131, 26, 31)
HSLhsl(357, 67%, 31%)
HSVhsv(357, 80%, 51%)
CMYKcmyk(0%, 80.2%, 76.3%, 48.6%)
CIE-LABlab(28.55, 43.84, 25.26)
CIE-LCHlch(28.55, 50.60, 29.95°)
OKLaboklab(40.1% 0.1275 0.0569)
OKLCHoklch(40.1% 0.14 24.1)
XYZxyz(9.9780, 5.6646, 1.8641)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A1F #1A837E
analogous
#831A53 #831A1F #83491A
triadic
#831A1F #1F831A #1A1F83
tetradic
#831A1F #53831A #1A837E #491A83
square
#831A1F #53831A #1A837E #491A83
split-complementary
#831A1F #1A8349 #1A5383
monochromatic
#1D0607 #501013 #831A1F #B6242B #D93F46

Accessibility & contrast

On white

9.85
#831A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A1F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A1F#FFFFFF#000000##FFFFFF
##831A1F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351E
Deuteranopia (green-blind)
#544B1B
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a1f;
/* rgb */ color: rgb(131, 26, 31);
/* oklch */ color: oklch(40.1% 0.140 24.1);
Tailwind
colors: {
  custom: {
    50: '#af615a',
    500: '#831a1f',
    950: '#000000',
  },
}
SCSS
$custom: #831a1f;
$custom-light: #af615a;
$custom-dark: #000000;
JSON
{
  "hex": "#831a1f",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 31
  },
  "hsl": {
    "h": 357.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.13964,
    "h": 24.1
  },
  "luminance": 0.05663
}

Semantic roles & 50–950 ramp

primary
#831A1F
secondary
#42B7B1
accent
#EAE23E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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