#831B1E#831B1E

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

Color values

HEX#831B1E
RGBrgb(131, 27, 30)
HSLhsl(358, 66%, 31%)
HSVhsv(358, 79%, 51%)
CMYKcmyk(0%, 79.4%, 77.1%, 48.6%)
CIE-LABlab(28.65, 43.47, 26.01)
CIE-LCHlch(28.65, 50.66, 30.90°)
OKLaboklab(40.18% 0.1261 0.0583)
OKLCHoklch(40.18% 0.139 24.8)
XYZxyz(9.9875, 5.7045, 1.8032)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B1E #1B8380
analogous
#831B52 #831B1E #834C1B
triadic
#831B1E #1E831B #1B1E83
tetradic
#831B1E #52831B #1B8380 #4C1B83
square
#831B1E #52831B #1B8380 #4C1B83
split-complementary
#831B1E #1B834C #1B5283
monochromatic
#1E0607 #501112 #831B1E #B6252A #D84145

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831B1E#FFFFFF#000000##FFFFFF
##831B1E1.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)
#3B351D
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b1e;
/* rgb */ color: rgb(131, 27, 30);
/* oklch */ color: oklch(40.2% 0.139 24.8);
Tailwind
colors: {
  custom: {
    50: '#af615a',
    500: '#831b1e',
    950: '#000000',
  },
}
SCSS
$custom: #831b1e;
$custom-light: #af615a;
$custom-dark: #000000;
JSON
{
  "hex": "#831b1e",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 30
  },
  "hsl": {
    "h": 358.269,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40177,
    "c": 0.13891,
    "h": 24.8
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#831B1E
secondary
#43B6B3
accent
#E9E43F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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