#831F2A#831F2A

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

Color values

HEX#831F2A
RGBrgb(131, 31, 42)
HSLhsl(353, 62%, 32%)
HSVhsv(353, 76%, 51%)
CMYKcmyk(0%, 76.3%, 67.9%, 48.6%)
CIE-LABlab(29.35, 42.68, 19.13)
CIE-LCHlch(29.35, 46.77, 24.15°)
OKLaboklab(40.75% 0.1263 0.0454)
OKLCHoklch(40.75% 0.134 19.7)
XYZxyz(10.2691, 5.9740, 2.8024)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F2A #1F8378
analogous
#831F5C #831F2A #83461F
triadic
#831F2A #2A831F #1F2A83
tetradic
#831F2A #5C831F #1F8378 #461F83
square
#831F2A #5C831F #1F8378 #461F83
split-complementary
#831F2A #1F8346 #1F5C83
monochromatic
#20080A #52131A #831F2A #B42B3A #D44958

Accessibility & contrast

On white

9.57
#831F2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F2A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F2A#FFFFFF#000000##FFFFFF
##831F2A1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382A
Deuteranopia (green-blind)
#554D27
Tritanopia (blue-blind)
#900024
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f2a;
/* rgb */ color: rgb(131, 31, 42);
/* oklch */ color: oklch(40.8% 0.134 19.7);
Tailwind
colors: {
  custom: {
    50: '#ae6363',
    500: '#831f2a',
    950: '#000000',
  },
}
SCSS
$custom: #831f2a;
$custom-light: #ae6363;
$custom-dark: #000000;
JSON
{
  "hex": "#831f2a",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 42
  },
  "hsl": {
    "h": 353.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40752,
    "c": 0.13424,
    "h": 19.7
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#831F2A
secondary
#48B6AA
accent
#E5D343
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #831F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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