#831A1D#831A1D

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

Color values

HEX#831A1D
RGBrgb(131, 26, 29)
HSLhsl(358, 67%, 31%)
HSVhsv(358, 80%, 51%)
CMYKcmyk(0%, 80.2%, 77.9%, 48.6%)
CIE-LABlab(28.52, 43.76, 26.49)
CIE-LCHlch(28.52, 51.15, 31.19°)
OKLaboklab(40.08% 0.1268 0.0591)
OKLCHoklch(40.08% 0.14 25)
XYZxyz(9.9524, 5.6544, 1.7295)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A1D #1A8380
analogous
#831A51 #831A1D #834B1A
triadic
#831A1D #1D831A #1A1D83
tetradic
#831A1D #51831A #1A8380 #4B1A83
square
#831A1D #51831A #1A8380 #4B1A83
split-complementary
#831A1D #1A834B #1A5183
monochromatic
#1D0606 #501012 #831A1D #B62428 #D93F43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A1D#FFFFFF#000000##FFFFFF
##831A1D1.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)
#3A351C
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a1d;
/* rgb */ color: rgb(131, 26, 29);
/* oklch */ color: oklch(40.1% 0.140 25.0);
Tailwind
colors: {
  custom: {
    50: '#af6159',
    500: '#831a1d',
    950: '#000000',
  },
}
SCSS
$custom: #831a1d;
$custom-light: #af6159;
$custom-dark: #000000;
JSON
{
  "hex": "#831a1d",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 29
  },
  "hsl": {
    "h": 358.286,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40075,
    "c": 0.13986,
    "h": 25
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#831A1D
secondary
#42B7B3
accent
#EAE53E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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