#831B2A#831B2A

#831B2A is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.138 H 18.6°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#831B2A
RGBrgb(131, 27, 42)
HSLhsl(351, 66%, 31%)
HSVhsv(351, 79%, 51%)
CMYKcmyk(0%, 79.4%, 67.9%, 48.6%)
CIE-LABlab(28.85, 44.08, 18.50)
CIE-LCHlch(28.85, 47.81, 22.77°)
OKLaboklab(40.38% 0.1308 0.0439)
OKLCHoklch(40.38% 0.138 18.6)
XYZxyz(10.1710, 5.7779, 2.7697)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B2A #1B8374
analogous
#831B5E #831B2A #83401B
triadic
#831B2A #2A831B #1B2A83
tetradic
#831B2A #5E831B #1B8374 #401B83
square
#831B2A #5E831B #1B8374 #401B83
split-complementary
#831B2A #1B8340 #1B5E83
monochromatic
#1E0609 #50111A #831B2A #B6253A #D84156

Accessibility & contrast

On white

9.74
#831B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B2A
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B2A#FFFFFF#000000##FFFFFF
##831B2A1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362A
Deuteranopia (green-blind)
#534C27
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b2a;
/* rgb */ color: rgb(131, 27, 42);
/* oklch */ color: oklch(40.4% 0.138 18.6);
Tailwind
colors: {
  custom: {
    50: '#ae6263',
    500: '#831b2a',
    950: '#000000',
  },
}
SCSS
$custom: #831b2a;
$custom-light: #ae6263;
$custom-dark: #000000;
JSON
{
  "hex": "#831b2a",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 42
  },
  "hsl": {
    "h": 351.346,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4038,
    "c": 0.13801,
    "h": 18.6
  },
  "luminance": 0.05776
}

Semantic roles & 50–950 ramp

primary
#831B2A
secondary
#43B6A6
accent
#E9D03F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #831B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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