#831C1E#831C1E

#831C1E is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.138 H 25.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#831C1E
RGBrgb(131, 28, 30)
HSLhsl(359, 65%, 31%)
HSVhsv(359, 79%, 51%)
CMYKcmyk(0%, 78.6%, 77.1%, 48.6%)
CIE-LABlab(28.78, 43.13, 26.15)
CIE-LCHlch(28.78, 50.44, 31.23°)
OKLaboklab(40.27% 0.125 0.0586)
OKLCHoklch(40.27% 0.138 25.1)
XYZxyz(10.0108, 5.7511, 1.8110)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C1E #1C8381
analogous
#831C51 #831C1E #834D1C
triadic
#831C1E #1E831C #1C1E83
tetradic
#831C1E #51831C #1C8381 #4D1C83
square
#831C1E #51831C #1C8381 #4D1C83
split-complementary
#831C1E #1C834D #1C5183
monochromatic
#1E0607 #511112 #831C1E #B5272A #D74346

Accessibility & contrast

On white

9.77
#831C1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#831C1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C1E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C1E#FFFFFF#000000##FFFFFF
##831C1E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B361D
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831c1e;
/* rgb */ color: rgb(131, 28, 30);
/* oklch */ color: oklch(40.3% 0.138 25.1);
Tailwind
colors: {
  custom: {
    50: '#af625a',
    500: '#831c1e',
    950: '#000000',
  },
}
SCSS
$custom: #831c1e;
$custom-light: #af625a;
$custom-dark: #000000;
JSON
{
  "hex": "#831c1e",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 30
  },
  "hsl": {
    "h": 358.835,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.13806,
    "h": 25.1
  },
  "luminance": 0.0575
}

Semantic roles & 50–950 ramp

primary
#831C1E
secondary
#45B6B4
accent
#E8E540
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #831C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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