#831A2B#831A2B

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

Color values

HEX#831A2B
RGBrgb(131, 26, 43)
HSLhsl(350, 67%, 31%)
HSVhsv(350, 80%, 51%)
CMYKcmyk(0%, 80.2%, 67.2%, 48.6%)
CIE-LABlab(28.75, 44.47, 17.71)
CIE-LCHlch(28.75, 47.87, 21.72°)
OKLaboklab(40.31% 0.1323 0.0423)
OKLCHoklch(40.31% 0.139 17.7)
XYZxyz(10.1666, 5.7400, 2.8576)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A2B #1A8372
analogous
#831A5F #831A2B #833D1A
triadic
#831A2B #2B831A #1A2B83
tetradic
#831A2B #5F831A #1A8372 #3D1A83
square
#831A2B #5F831A #1A8372 #3D1A83
split-complementary
#831A2B #1A833D #1A5F83
monochromatic
#1D0609 #50101A #831A2B #B6243C #D93F58

Accessibility & contrast

On white

9.78
#831A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A2B
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A2B#FFFFFF#000000##FFFFFF
##831A2B1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362B
Deuteranopia (green-blind)
#534C28
Tritanopia (blue-blind)
#900021
Achromatopsia (no color)
#444444

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#831A2B
secondary
#42B7A4
accent
#EACE3E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120505
muted
#817A79

Preview Lab

Preview with #831A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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