#831F2B#831F2B

#831F2B is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.134 H 19.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#831F2B
RGBrgb(131, 31, 43)
HSLhsl(353, 62%, 32%)
HSVhsv(353, 76%, 51%)
CMYKcmyk(0%, 76.3%, 67.2%, 48.6%)
CIE-LABlab(29.36, 42.74, 18.50)
CIE-LCHlch(29.36, 46.58, 23.41°)
OKLaboklab(40.77% 0.1268 0.0441)
OKLCHoklch(40.77% 0.134 19.2)
XYZxyz(10.2872, 5.9812, 2.8978)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F2B #1F8377
analogous
#831F5D #831F2B #83451F
triadic
#831F2B #2B831F #1F2B83
tetradic
#831F2B #5D831F #1F8377 #451F83
square
#831F2B #5D831F #1F8377 #451F83
split-complementary
#831F2B #1F8345 #1F5D83
monochromatic
#20080B #52131B #831F2B #B42B3B #D44959

Accessibility & contrast

On white

9.56
#831F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#831F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F2B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F2B#FFFFFF#000000##FFFFFF
##831F2B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382B
Deuteranopia (green-blind)
#544D28
Tritanopia (blue-blind)
#900024
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f2b;
/* rgb */ color: rgb(131, 31, 43);
/* oklch */ color: oklch(40.8% 0.134 19.2);
Tailwind
colors: {
  custom: {
    50: '#ae6364',
    500: '#831f2b',
    950: '#000000',
  },
}
SCSS
$custom: #831f2b;
$custom-light: #ae6364;
$custom-dark: #000000;
JSON
{
  "hex": "#831f2b",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 43
  },
  "hsl": {
    "h": 352.8,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40772,
    "c": 0.1342,
    "h": 19.2
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#831F2B
secondary
#48B6A9
accent
#E5D143
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #831F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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