#831E1F#831E1F

#831E1F is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.136 H 25.3°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#831E1F
RGBrgb(131, 30, 31)
HSLhsl(359, 63%, 32%)
HSVhsv(359, 77%, 51%)
CMYKcmyk(0%, 77.1%, 76.3%, 48.6%)
CIE-LABlab(29.04, 42.47, 25.82)
CIE-LCHlch(29.04, 49.70, 31.30°)
OKLaboklab(40.47% 0.1231 0.0582)
OKLCHoklch(40.47% 0.136 25.3)
XYZxyz(10.0728, 5.8543, 1.8957)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E1F #1E8382
analogous
#831E52 #831E1F #83501E
triadic
#831E1F #1F831E #1E1F83
tetradic
#831E1F #52831E #1E8382 #501E83
square
#831E1F #52831E #1E8382 #501E83
split-complementary
#831E1F #1E8350 #1E5283
monochromatic
#1F0707 #511313 #831E1F #B5292B #D54748

Accessibility & contrast

On white

9.67
#831E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#831E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E1F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E1F#FFFFFF#000000##FFFFFF
##831E1F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C371E
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#910020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831e1f;
/* rgb */ color: rgb(131, 30, 31);
/* oklch */ color: oklch(40.5% 0.136 25.3);
Tailwind
colors: {
  custom: {
    50: '#af635b',
    500: '#831e1f',
    950: '#000000',
  },
}
SCSS
$custom: #831e1f;
$custom-light: #af635b;
$custom-dark: #000000;
JSON
{
  "hex": "#831e1f",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 31
  },
  "hsl": {
    "h": 359.406,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.13618,
    "h": 25.3
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#831E1F
secondary
#47B6B5
accent
#E6E442
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #831E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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