#831F2F#831F2F

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

Color values

HEX#831F2F
RGBrgb(131, 31, 47)
HSLhsl(350, 62%, 32%)
HSVhsv(350, 76%, 51%)
CMYKcmyk(0%, 76.3%, 64.1%, 48.6%)
CIE-LABlab(29.44, 43.00, 15.97)
CIE-LCHlch(29.44, 45.87, 20.38°)
OKLaboklab(40.86% 0.1284 0.0387)
OKLCHoklch(40.86% 0.134 16.8)
XYZxyz(10.3642, 6.0120, 3.3035)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F2F #1F8373
analogous
#831F61 #831F2F #83411F
triadic
#831F2F #2F831F #1F2F83
tetradic
#831F2F #61831F #1F8373 #411F83
square
#831F2F #61831F #1F8373 #411F83
split-complementary
#831F2F #1F8341 #1F6183
monochromatic
#20080B #52131D #831F2F #B42B41 #D4495F

Accessibility & contrast

On white

9.54
#831F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F2F
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F2F#FFFFFF#000000##FFFFFF
##831F2F1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#900026
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f2f;
/* rgb */ color: rgb(131, 31, 47);
/* oklch */ color: oklch(40.9% 0.134 16.8);
Tailwind
colors: {
  custom: {
    50: '#ad6467',
    500: '#831f2f',
    950: '#000000',
  },
}
SCSS
$custom: #831f2f;
$custom-light: #ad6467;
$custom-dark: #000000;
JSON
{
  "hex": "#831f2f",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 47
  },
  "hsl": {
    "h": 350.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.13413,
    "h": 16.8
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#831F2F
secondary
#48B6A4
accent
#E5CB43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #831F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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