#831C2B#831C2B

#831C2B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.137 H 18.3°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#831C2B
RGBrgb(131, 28, 43)
HSLhsl(351, 65%, 31%)
HSVhsv(351, 79%, 51%)
CMYKcmyk(0%, 78.6%, 67.2%, 48.6%)
CIE-LABlab(28.98, 43.81, 18.02)
CIE-LCHlch(28.98, 47.37, 22.36°)
OKLaboklab(40.49% 0.1302 0.043)
OKLCHoklch(40.49% 0.137 18.3)
XYZxyz(10.2125, 5.8318, 2.8729)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C2B #1C8374
analogous
#831C5E #831C2B #83401C
triadic
#831C2B #2B831C #1C2B83
tetradic
#831C2B #5E831C #1C8374 #401C83
square
#831C2B #5E831C #1C8374 #401C83
split-complementary
#831C2B #1C8340 #1C5E83
monochromatic
#1E060A #51111A #831C2B #B5273C #D74358

Accessibility & contrast

On white

9.70
#831C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#831C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C2B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C2B#FFFFFF#000000##FFFFFF
##831C2B1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A362B
Deuteranopia (green-blind)
#544C28
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831c2b;
/* rgb */ color: rgb(131, 28, 43);
/* oklch */ color: oklch(40.5% 0.137 18.3);
Tailwind
colors: {
  custom: {
    50: '#ae6264',
    500: '#831c2b',
    950: '#000000',
  },
}
SCSS
$custom: #831c2b;
$custom-light: #ae6264;
$custom-dark: #000000;
JSON
{
  "hex": "#831c2b",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 43
  },
  "hsl": {
    "h": 351.262,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.13708,
    "h": 18.3
  },
  "luminance": 0.0583
}

Semantic roles & 50–950 ramp

primary
#831C2B
secondary
#45B6A6
accent
#E8CF40
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #831C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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