#831A1C#831A1C

#831A1C is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 25.4°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#831A1C
RGBrgb(131, 26, 28)
HSLhsl(359, 67%, 31%)
HSVhsv(359, 80%, 51%)
CMYKcmyk(0%, 80.2%, 78.6%, 48.6%)
CIE-LABlab(28.51, 43.72, 27.10)
CIE-LCHlch(28.51, 51.43, 31.79°)
OKLaboklab(40.06% 0.1264 0.0601)
OKLCHoklch(40.06% 0.14 25.4)
XYZxyz(9.9403, 5.6495, 1.6655)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A1C #1A8381
analogous
#831A50 #831A1C #834C1A
triadic
#831A1C #1C831A #1A1C83
tetradic
#831A1C #50831A #1A8381 #4C1A83
square
#831A1C #50831A #1A8381 #4C1A83
split-complementary
#831A1C #1A834C #1A5083
monochromatic
#1D0606 #501011 #831A1C #B62427 #D93F42

Accessibility & contrast

On white

9.86
#831A1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#831A1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A1C
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A1C#FFFFFF#000000##FFFFFF
##831A1C1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B351B
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a1c;
/* rgb */ color: rgb(131, 26, 28);
/* oklch */ color: oklch(40.1% 0.140 25.4);
Tailwind
colors: {
  custom: {
    50: '#af6158',
    500: '#831a1c',
    950: '#000000',
  },
}
SCSS
$custom: #831a1c;
$custom-light: #af6158;
$custom-dark: #000000;
JSON
{
  "hex": "#831a1c",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 28
  },
  "hsl": {
    "h": 358.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40062,
    "c": 0.13998,
    "h": 25.4
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#831A1C
secondary
#42B7B4
accent
#EAE73E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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