#831B2C#831B2C

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

Color values

HEX#831B2C
RGBrgb(131, 27, 44)
HSLhsl(350, 66%, 31%)
HSVhsv(350, 79%, 51%)
CMYKcmyk(0%, 79.4%, 66.4%, 48.6%)
CIE-LABlab(28.88, 44.21, 17.23)
CIE-LCHlch(28.88, 47.44, 21.29°)
OKLaboklab(40.42% 0.1317 0.0413)
OKLCHoklch(40.42% 0.138 17.4)
XYZxyz(10.2077, 5.7925, 2.9630)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B2C #1B8372
analogous
#831B60 #831B2C #833E1B
triadic
#831B2C #2C831B #1B2C83
tetradic
#831B2C #60831B #1B8372 #3E1B83
square
#831B2C #60831B #1B8372 #3E1B83
split-complementary
#831B2C #1B833E #1B6083
monochromatic
#1E060A #50111B #831B2C #B6253D #D84159

Accessibility & contrast

On white

9.73
#831B2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B2C
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B2C#FFFFFF#000000##FFFFFF
##831B2C1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.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: #831b2c;
/* rgb */ color: rgb(131, 27, 44);
/* oklch */ color: oklch(40.4% 0.138 17.4);
Tailwind
colors: {
  custom: {
    50: '#ae6264',
    500: '#831b2c',
    950: '#000000',
  },
}
SCSS
$custom: #831b2c;
$custom-light: #ae6264;
$custom-dark: #000000;
JSON
{
  "hex": "#831b2c",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 44
  },
  "hsl": {
    "h": 350.192,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4042,
    "c": 0.13799,
    "h": 17.4
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#831B2C
secondary
#43B6A4
accent
#E9CD3F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #831B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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