#831F20#831F20

#831F20 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.135 H 25.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#831F20
RGBrgb(131, 31, 32)
HSLhsl(359, 62%, 32%)
HSVhsv(359, 76%, 51%)
CMYKcmyk(0%, 76.3%, 75.6%, 48.6%)
CIE-LABlab(29.19, 42.15, 25.36)
CIE-LCHlch(29.19, 49.19, 31.04°)
OKLaboklab(40.58% 0.1224 0.0574)
OKLCHoklch(40.58% 0.135 25.1)
XYZxyz(10.1119, 5.9111, 1.9747)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F20 #1F8382
analogous
#831F52 #831F20 #83501F
triadic
#831F20 #20831F #1F2083
tetradic
#831F20 #52831F #1F8382 #501F83
square
#831F20 #52831F #1F8382 #501F83
split-complementary
#831F20 #1F8350 #1F5283
monochromatic
#200808 #521314 #831F20 #B42B2C #D4494A

Accessibility & contrast

On white

9.62
#831F20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F20
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F20#FFFFFF#000000##FFFFFF
##831F201.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371F
Deuteranopia (green-blind)
#554D1C
Tritanopia (blue-blind)
#910021
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f20;
/* rgb */ color: rgb(131, 31, 32);
/* oklch */ color: oklch(40.6% 0.135 25.1);
Tailwind
colors: {
  custom: {
    50: '#af635b',
    500: '#831f20',
    950: '#000000',
  },
}
SCSS
$custom: #831f20;
$custom-light: #af635b;
$custom-dark: #000000;
JSON
{
  "hex": "#831f20",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 32
  },
  "hsl": {
    "h": 359.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40582,
    "c": 0.13515,
    "h": 25.1
  },
  "luminance": 0.0591
}

Semantic roles & 50–950 ramp

primary
#831F20
secondary
#48B6B5
accent
#E5E343
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #831F20

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

Preview Lab → · Contrast checker → · Palette generator →

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