#831A20#831A20

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

Color values

HEX#831A20
RGBrgb(131, 26, 32)
HSLhsl(357, 67%, 31%)
HSVhsv(357, 80%, 51%)
CMYKcmyk(0%, 80.2%, 75.6%, 48.6%)
CIE-LABlab(28.56, 43.89, 24.65)
CIE-LCHlch(28.56, 50.34, 29.32°)
OKLaboklab(40.12% 0.1279 0.0558)
OKLCHoklch(40.12% 0.14 23.6)
XYZxyz(9.9913, 5.6699, 1.9345)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A20 #1A837D
analogous
#831A54 #831A20 #83481A
triadic
#831A20 #20831A #1A2083
tetradic
#831A20 #54831A #1A837D #481A83
square
#831A20 #54831A #1A837D #481A83
split-complementary
#831A20 #1A8348 #1A5483
monochromatic
#1D0607 #501014 #831A20 #B6242C #D93F47

Accessibility & contrast

On white

9.84
#831A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A20
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A20#FFFFFF#000000##FFFFFF
##831A201.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A351F
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#91001D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a20;
/* rgb */ color: rgb(131, 26, 32);
/* oklch */ color: oklch(40.1% 0.140 23.6);
Tailwind
colors: {
  custom: {
    50: '#af615b',
    500: '#831a20',
    950: '#000000',
  },
}
SCSS
$custom: #831a20;
$custom-light: #af615b;
$custom-dark: #000000;
JSON
{
  "hex": "#831a20",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 32
  },
  "hsl": {
    "h": 356.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.13953,
    "h": 23.6
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#831A20
secondary
#42B7B0
accent
#EAE03E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831A20

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

Preview Lab → · Contrast checker → · Palette generator →

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