#831F24#831F24

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

Color values

HEX#831F24
RGBrgb(131, 31, 36)
HSLhsl(357, 62%, 32%)
HSVhsv(357, 76%, 51%)
CMYKcmyk(0%, 76.3%, 72.5%, 48.6%)
CIE-LABlab(29.25, 42.34, 22.89)
CIE-LCHlch(29.25, 48.14, 28.40°)
OKLaboklab(40.64% 0.1239 0.0528)
OKLCHoklch(40.64% 0.135 23.1)
XYZxyz(10.1696, 5.9342, 2.2787)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F24 #1F837E
analogous
#831F56 #831F24 #834C1F
triadic
#831F24 #24831F #1F2483
tetradic
#831F24 #56831F #1F837E #4C1F83
square
#831F24 #56831F #1F837E #4C1F83
split-complementary
#831F24 #1F834C #1F5683
monochromatic
#200809 #521316 #831F24 #B42B32 #D44950

Accessibility & contrast

On white

9.60
#831F24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#831F24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F24
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F24#FFFFFF#000000##FFFFFF
##831F241.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3723
Deuteranopia (green-blind)
#554D21
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f24;
/* rgb */ color: rgb(131, 31, 36);
/* oklch */ color: oklch(40.6% 0.135 23.1);
Tailwind
colors: {
  custom: {
    50: '#ae635e',
    500: '#831f24',
    950: '#000000',
  },
}
SCSS
$custom: #831f24;
$custom-light: #ae635e;
$custom-dark: #000000;
JSON
{
  "hex": "#831f24",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 36
  },
  "hsl": {
    "h": 357,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40645,
    "c": 0.13469,
    "h": 23.1
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#831F24
secondary
#48B6B0
accent
#E5DD43
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #831F24

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

Preview Lab → · Contrast checker → · Palette generator →

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