#831C1A#831C1A

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

Color values

HEX#831C1A
RGBrgb(131, 28, 26)
HSLhsl(1, 67%, 31%)
HSVhsv(1, 80%, 51%)
CMYKcmyk(0%, 78.6%, 80.2%, 48.6%)
CIE-LABlab(28.73, 42.97, 28.55)
CIE-LCHlch(28.73, 51.59, 33.60°)
OKLaboklab(40.21% 0.1236 0.0627)
OKLCHoklch(40.21% 0.139 26.9)
XYZxyz(9.9630, 5.7320, 1.5589)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C1A #1A8183
analogous
#831A4C #831C1A #83501A
triadic
#831C1A #1A831C #1C1A83
tetradic
#831C1A #4C831A #1A8183 #501A83
square
#831C1A #4C831A #1A8183 #501A83
split-complementary
#831C1A #1A8350 #1A4C83
monochromatic
#1D0606 #501110 #831C1A #B62724 #D9423F

Accessibility & contrast

On white

9.79
#831C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C1A
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C1A#FFFFFF#000000##FFFFFF
##831C1A1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3519
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831c1a;
/* rgb */ color: rgb(131, 28, 26);
/* oklch */ color: oklch(40.2% 0.139 26.9);
Tailwind
colors: {
  custom: {
    50: '#af6257',
    500: '#831c1a',
    950: '#000000',
  },
}
SCSS
$custom: #831c1a;
$custom-light: #af6257;
$custom-dark: #000000;
JSON
{
  "hex": "#831c1a",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 26
  },
  "hsl": {
    "h": 1.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.13858,
    "h": 26.9
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#831C1A
secondary
#42B4B7
accent
#E7EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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