#831E1B#831E1B

#831E1B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.137 H 27.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#831E1B
RGBrgb(131, 30, 27)
HSLhsl(2, 66%, 31%)
HSVhsv(2, 79%, 51%)
CMYKcmyk(0%, 77.1%, 79.4%, 48.6%)
CIE-LABlab(28.99, 42.30, 28.23)
CIE-LCHlch(28.99, 50.85, 33.72°)
OKLaboklab(40.42% 0.1217 0.0623)
OKLCHoklch(40.42% 0.137 27.1)
XYZxyz(10.0234, 5.8345, 1.6351)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E1B #1B8083
analogous
#831B4C #831E1B #83521B
triadic
#831E1B #1B831E #1E1B83
tetradic
#831E1B #4C831B #1B8083 #521B83
square
#831E1B #4C831B #1B8083 #521B83
split-complementary
#831E1B #1B8352 #1B4C83
monochromatic
#1E0706 #501211 #831E1B #B62A25 #D84541

Accessibility & contrast

On white

9.69
#831E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831E1B
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E1B#FFFFFF#000000##FFFFFF
##831E1B1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D361A
Deuteranopia (green-blind)
#564C17
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831e1b;
/* rgb */ color: rgb(131, 30, 27);
/* oklch */ color: oklch(40.4% 0.137 27.1);
Tailwind
colors: {
  custom: {
    50: '#af6358',
    500: '#831e1b',
    950: '#000000',
  },
}
SCSS
$custom: #831e1b;
$custom-light: #af6358;
$custom-dark: #000000;
JSON
{
  "hex": "#831e1b",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 27
  },
  "hsl": {
    "h": 1.731,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40416,
    "c": 0.13672,
    "h": 27.1
  },
  "luminance": 0.05833
}

Semantic roles & 50–950 ramp

primary
#831E1B
secondary
#43B3B6
accent
#E4E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #831E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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