#831B1D#831B1D

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

Color values

HEX#831B1D
RGBrgb(131, 27, 29)
HSLhsl(359, 66%, 31%)
HSVhsv(359, 79%, 51%)
CMYKcmyk(0%, 79.4%, 77.9%, 48.6%)
CIE-LABlab(28.64, 43.43, 26.62)
CIE-LCHlch(28.64, 50.94, 31.51°)
OKLaboklab(40.16% 0.1257 0.0594)
OKLCHoklch(40.16% 0.139 25.3)
XYZxyz(9.9750, 5.6994, 1.7370)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B1D #1B8381
analogous
#831B51 #831B1D #834D1B
triadic
#831B1D #1D831B #1B1D83
tetradic
#831B1D #51831B #1B8381 #4D1B83
square
#831B1D #51831B #1B8381 #4D1B83
split-complementary
#831B1D #1B834D #1B5183
monochromatic
#1E0607 #501112 #831B1D #B62528 #D84144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831B1D#FFFFFF#000000##FFFFFF
##831B1D1.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)
#3B351C
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b1d;
/* rgb */ color: rgb(131, 27, 29);
/* oklch */ color: oklch(40.2% 0.139 25.3);
Tailwind
colors: {
  custom: {
    50: '#af6159',
    500: '#831b1d',
    950: '#000000',
  },
}
SCSS
$custom: #831b1d;
$custom-light: #af6159;
$custom-dark: #000000;
JSON
{
  "hex": "#831b1d",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 29
  },
  "hsl": {
    "h": 358.846,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40163,
    "c": 0.13903,
    "h": 25.3
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#831B1D
secondary
#43B6B4
accent
#E9E63F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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