#831F22#831F22

#831F22 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.6% C 0.135 H 24.1°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#831F22
RGBrgb(131, 31, 34)
HSLhsl(358, 62%, 32%)
HSVhsv(358, 76%, 51%)
CMYKcmyk(0%, 76.3%, 74%, 48.6%)
CIE-LABlab(29.22, 42.24, 24.13)
CIE-LCHlch(29.22, 48.65, 29.74°)
OKLaboklab(40.61% 0.1231 0.0551)
OKLCHoklch(40.61% 0.135 24.1)
XYZxyz(10.1399, 5.9223, 2.1223)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F22 #1F8380
analogous
#831F54 #831F22 #834E1F
triadic
#831F22 #22831F #1F2283
tetradic
#831F22 #54831F #1F8380 #4E1F83
square
#831F22 #54831F #1F8380 #4E1F83
split-complementary
#831F22 #1F834E #1F5483
monochromatic
#200808 #521315 #831F22 #B42B2F #D4494D

Accessibility & contrast

On white

9.61
#831F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#831F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F22
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F22#FFFFFF#000000##FFFFFF
##831F221.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3721
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#910021
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f22;
/* rgb */ color: rgb(131, 31, 34);
/* oklch */ color: oklch(40.6% 0.135 24.1);
Tailwind
colors: {
  custom: {
    50: '#ae635d',
    500: '#831f22',
    950: '#000000',
  },
}
SCSS
$custom: #831f22;
$custom-light: #ae635d;
$custom-dark: #000000;
JSON
{
  "hex": "#831f22",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 34
  },
  "hsl": {
    "h": 358.2,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.1349,
    "h": 24.1
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#831F22
secondary
#48B6B2
accent
#E5E043
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #831F22

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

Preview Lab → · Contrast checker → · Palette generator →

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