#831A2C#831A2C

#831A2C is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.3% C 0.139 H 17.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#831A2C
RGBrgb(131, 26, 44)
HSLhsl(350, 67%, 31%)
HSVhsv(350, 80%, 51%)
CMYKcmyk(0%, 80.2%, 66.4%, 48.6%)
CIE-LABlab(28.77, 44.53, 17.08)
CIE-LCHlch(28.77, 47.69, 20.98°)
OKLaboklab(40.33% 0.1327 0.0409)
OKLCHoklch(40.33% 0.139 17.1)
XYZxyz(10.1852, 5.7475, 2.9555)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A2C #1A8371
analogous
#831A60 #831A2C #833C1A
triadic
#831A2C #2C831A #1A2C83
tetradic
#831A2C #60831A #1A8371 #3C1A83
square
#831A2C #60831A #1A8371 #3C1A83
split-complementary
#831A2C #1A833C #1A6083
monochromatic
#1D060A #50101B #831A2C #B6243D #D93F59

Accessibility & contrast

On white

9.77
#831A2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#831A2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831A2C
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A2C#FFFFFF#000000##FFFFFF
##831A2C1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831a2c;
/* rgb */ color: rgb(131, 26, 44);
/* oklch */ color: oklch(40.3% 0.139 17.1);
Tailwind
colors: {
  custom: {
    50: '#ae6164',
    500: '#831a2c',
    950: '#000000',
  },
}
SCSS
$custom: #831a2c;
$custom-light: #ae6164;
$custom-dark: #000000;
JSON
{
  "hex": "#831a2c",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 44
  },
  "hsl": {
    "h": 349.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40334,
    "c": 0.13889,
    "h": 17.1
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#831A2C
secondary
#42B7A3
accent
#EACC3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120505
muted
#817A7A

Preview Lab

Preview with #831A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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