#831B1B#831B1B

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

Color values

HEX#831B1B
RGBrgb(131, 27, 27)
HSLhsl(0, 66%, 31%)
HSVhsv(0, 79%, 51%)
CMYKcmyk(0%, 79.4%, 79.4%, 48.6%)
CIE-LABlab(28.62, 43.35, 27.83)
CIE-LCHlch(28.62, 51.51, 32.70°)
OKLaboklab(40.14% 0.125 0.0614)
OKLCHoklch(40.14% 0.139 26.2)
XYZxyz(9.9510, 5.6899, 1.6110)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B1B #1B8383
analogous
#831B4F #831B1B #834F1B
triadic
#831B1B #1B831B #1B1B83
tetradic
#831B1B #4F831B #1B8383 #4F1B83
square
#831B1B #4F831B #1B8383 #4F1B83
split-complementary
#831B1B #1B834F #1B4F83
monochromatic
#1E0606 #501111 #831B1B #B62525 #D84141

Accessibility & contrast

On white

9.82
#831B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B1B
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B1B#FFFFFF#000000##FFFFFF
##831B1B1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351A
Deuteranopia (green-blind)
#554C17
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831b1b;
/* rgb */ color: rgb(131, 27, 27);
/* oklch */ color: oklch(40.1% 0.139 26.2);
Tailwind
colors: {
  custom: {
    50: '#af6158',
    500: '#831b1b',
    950: '#000000',
  },
}
SCSS
$custom: #831b1b;
$custom-light: #af6158;
$custom-dark: #000000;
JSON
{
  "hex": "#831b1b",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 27
  },
  "hsl": {
    "h": 0,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.13928,
    "h": 26.2
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#831B1B
secondary
#43B6B6
accent
#E9E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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