#831B26#831B26

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

Color values

HEX#831B26
RGBrgb(131, 27, 38)
HSLhsl(354, 66%, 31%)
HSVhsv(354, 79%, 51%)
CMYKcmyk(0%, 79.4%, 71%, 48.6%)
CIE-LABlab(28.77, 43.86, 21.03)
CIE-LCHlch(28.77, 48.64, 25.62°)
OKLaboklab(40.31% 0.1292 0.049)
OKLCHoklch(40.31% 0.138 20.8)
XYZxyz(10.1030, 5.7507, 2.4114)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B26 #1B8378
analogous
#831B5A #831B26 #83441B
triadic
#831B26 #26831B #1B2683
tetradic
#831B26 #5A831B #1B8378 #441B83
square
#831B26 #5A831B #1B8378 #441B83
split-complementary
#831B26 #1B8344 #1B5A83
monochromatic
#1E0609 #501117 #831B26 #B62535 #D84151

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831B26#FFFFFF#000000##FFFFFF
##831B261.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)
#3A3626
Deuteranopia (green-blind)
#544C23
Tritanopia (blue-blind)
#900020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b26;
/* rgb */ color: rgb(131, 27, 38);
/* oklch */ color: oklch(40.3% 0.138 20.8);
Tailwind
colors: {
  custom: {
    50: '#ae6260',
    500: '#831b26',
    950: '#000000',
  },
}
SCSS
$custom: #831b26;
$custom-light: #ae6260;
$custom-dark: #000000;
JSON
{
  "hex": "#831b26",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 38
  },
  "hsl": {
    "h": 353.654,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.13818,
    "h": 20.8
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#831B26
secondary
#43B6AA
accent
#E9D73F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831B26

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

Preview Lab → · Contrast checker → · Palette generator →

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