#831F1B#831F1B

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

Color values

HEX#831F1B
RGBrgb(131, 31, 27)
HSLhsl(2, 66%, 31%)
HSVhsv(2, 79%, 51%)
CMYKcmyk(0%, 76.3%, 79.4%, 48.6%)
CIE-LABlab(29.12, 41.93, 28.37)
CIE-LCHlch(29.12, 50.63, 34.08°)
OKLaboklab(40.51% 0.1205 0.0626)
OKLCHoklch(40.51% 0.136 27.5)
XYZxyz(10.0491, 5.8860, 1.6437)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F1B #1B7F83
analogous
#831B4B #831F1B #83531B
triadic
#831F1B #1B831F #1F1B83
tetradic
#831F1B #4B831B #1B7F83 #531B83
square
#831F1B #4B831B #1B7F83 #531B83
split-complementary
#831F1B #1B8353 #1B4B83
monochromatic
#1E0706 #501311 #831F1B #B62B25 #D84641

Accessibility & contrast

On white

9.65
#831F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#831F1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F1B
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F1B#FFFFFF#000000##FFFFFF
##831F1B1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3719
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f1b;
/* rgb */ color: rgb(131, 31, 27);
/* oklch */ color: oklch(40.5% 0.136 27.5);
Tailwind
colors: {
  custom: {
    50: '#af6358',
    500: '#831f1b',
    950: '#000000',
  },
}
SCSS
$custom: #831f1b;
$custom-light: #af6358;
$custom-dark: #000000;
JSON
{
  "hex": "#831f1b",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 27
  },
  "hsl": {
    "h": 2.308,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40514,
    "c": 0.13584,
    "h": 27.5
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#831F1B
secondary
#43B2B6
accent
#E2E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #831F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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