#831C2A#831C2A

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

Color values

HEX#831C2A
RGBrgb(131, 28, 42)
HSLhsl(352, 65%, 31%)
HSVhsv(352, 79%, 51%)
CMYKcmyk(0%, 78.6%, 67.9%, 48.6%)
CIE-LABlab(28.97, 43.75, 18.65)
CIE-LCHlch(28.97, 47.56, 23.09°)
OKLaboklab(40.47% 0.1298 0.0443)
OKLCHoklch(40.47% 0.137 18.8)
XYZxyz(10.1944, 5.8245, 2.7775)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C2A #1C8375
analogous
#831C5D #831C2A #83411C
triadic
#831C2A #2A831C #1C2A83
tetradic
#831C2A #5D831C #1C8375 #411C83
square
#831C2A #5D831C #1C8375 #411C83
split-complementary
#831C2A #1C8341 #1C5D83
monochromatic
#1E060A #51111A #831C2A #B5273A #D74357

Accessibility & contrast

On white

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

On black

2.16
#831C2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##831C2A#FFFFFF#000000##FFFFFF
##831C2A1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A362A
Deuteranopia (green-blind)
#544C27
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831c2a;
/* rgb */ color: rgb(131, 28, 42);
/* oklch */ color: oklch(40.5% 0.137 18.8);
Tailwind
colors: {
  custom: {
    50: '#ae6263',
    500: '#831c2a',
    950: '#000000',
  },
}
SCSS
$custom: #831c2a;
$custom-light: #ae6263;
$custom-dark: #000000;
JSON
{
  "hex": "#831c2a",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 42
  },
  "hsl": {
    "h": 351.845,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.13709,
    "h": 18.8
  },
  "luminance": 0.05823
}

Semantic roles & 50–950 ramp

primary
#831C2A
secondary
#45B6A7
accent
#E8D140
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #831C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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