#831F1D#831F1D

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

Color values

HEX#831F1D
RGBrgb(131, 31, 29)
HSLhsl(1, 64%, 31%)
HSVhsv(1, 78%, 51%)
CMYKcmyk(0%, 76.3%, 77.9%, 48.6%)
CIE-LABlab(29.15, 42.02, 27.18)
CIE-LCHlch(29.15, 50.04, 32.90°)
OKLaboklab(40.54% 0.1213 0.0606)
OKLCHoklch(40.54% 0.136 26.6)
XYZxyz(10.0730, 5.8955, 1.7697)
Luminance0.0589 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F1D #1D8183
analogous
#831D4E #831F1D #83521D
triadic
#831F1D #1D831F #1F1D83
tetradic
#831F1D #4E831D #1D8183 #521D83
square
#831F1D #4E831D #1D8183 #521D83
split-complementary
#831F1D #1D8352 #1D4E83
monochromatic
#1F0707 #511312 #831F1D #B52B28 #D64745

Accessibility & contrast

On white

9.64
#831F1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F1D
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F1D#FFFFFF#000000##FFFFFF
##831F1D1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371C
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#910020
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f1d;
/* rgb */ color: rgb(131, 31, 29);
/* oklch */ color: oklch(40.5% 0.136 26.6);
Tailwind
colors: {
  custom: {
    50: '#af6359',
    500: '#831f1d',
    950: '#000000',
  },
}
SCSS
$custom: #831f1d;
$custom-light: #af6359;
$custom-dark: #000000;
JSON
{
  "hex": "#831f1d",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 29
  },
  "hsl": {
    "h": 1.176,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4054,
    "c": 0.13555,
    "h": 26.6
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#831F1D
secondary
#46B4B6
accent
#E4E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #831F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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