#831B1F#831B1F

#831B1F is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.2% C 0.139 H 24.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#831B1F
RGBrgb(131, 27, 31)
HSLhsl(358, 66%, 31%)
HSVhsv(358, 79%, 51%)
CMYKcmyk(0%, 79.4%, 76.3%, 48.6%)
CIE-LABlab(28.67, 43.51, 25.40)
CIE-LCHlch(28.67, 50.38, 30.27°)
OKLaboklab(40.19% 0.1265 0.0572)
OKLCHoklch(40.19% 0.139 24.4)
XYZxyz(10.0005, 5.7097, 1.8716)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B1F #1B837F
analogous
#831B53 #831B1F #834B1B
triadic
#831B1F #1F831B #1B1F83
tetradic
#831B1F #53831B #1B837F #4B1B83
square
#831B1F #53831B #1B837F #4B1B83
split-complementary
#831B1F #1B834B #1B5383
monochromatic
#1E0607 #501113 #831B1F #B6252B #D84146

Accessibility & contrast

On white

9.81
#831B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#831B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B1F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B1F#FFFFFF#000000##FFFFFF
##831B1F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351E
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b1f;
/* rgb */ color: rgb(131, 27, 31);
/* oklch */ color: oklch(40.2% 0.139 24.4);
Tailwind
colors: {
  custom: {
    50: '#af615a',
    500: '#831b1f',
    950: '#000000',
  },
}
SCSS
$custom: #831b1f;
$custom-light: #af615a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b1f",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 31
  },
  "hsl": {
    "h": 357.692,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40191,
    "c": 0.1388,
    "h": 24.4
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#831B1F
secondary
#43B6B2
accent
#E9E23F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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