#831B22#831B22

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

Color values

HEX#831B22
RGBrgb(131, 27, 34)
HSLhsl(356, 66%, 31%)
HSVhsv(356, 79%, 51%)
CMYKcmyk(0%, 79.4%, 74%, 48.6%)
CIE-LABlab(28.71, 43.65, 23.54)
CIE-LCHlch(28.71, 49.60, 28.34°)
OKLaboklab(40.24% 0.1276 0.0538)
OKLCHoklch(40.24% 0.138 22.9)
XYZxyz(10.0419, 5.7262, 2.0896)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B22 #1B837C
analogous
#831B56 #831B22 #83481B
triadic
#831B22 #22831B #1B2283
tetradic
#831B22 #56831B #1B837C #481B83
square
#831B22 #56831B #1B837C #481B83
split-complementary
#831B22 #1B8348 #1B5683
monochromatic
#1E0608 #501115 #831B22 #B6252F #D8414B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831B22#FFFFFF#000000##FFFFFF
##831B221.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)
#3A3521
Deuteranopia (green-blind)
#544C1E
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b22;
/* rgb */ color: rgb(131, 27, 34);
/* oklch */ color: oklch(40.2% 0.138 22.9);
Tailwind
colors: {
  custom: {
    50: '#af625d',
    500: '#831b22',
    950: '#000000',
  },
}
SCSS
$custom: #831b22;
$custom-light: #af625d;
$custom-dark: #000000;
JSON
{
  "hex": "#831b22",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 34
  },
  "hsl": {
    "h": 355.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.13849,
    "h": 22.9
  },
  "luminance": 0.05725
}

Semantic roles & 50–950 ramp

primary
#831B22
secondary
#43B6AF
accent
#E9DD3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831B22

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

Preview Lab → · Contrast checker → · Palette generator →

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