#831B18#831B18

#831B18 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.140 H 27.4°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#831B18
RGBrgb(131, 27, 24)
HSLhsl(2, 69%, 30%)
HSVhsv(2, 82%, 51%)
CMYKcmyk(0%, 79.4%, 81.7%, 48.6%)
CIE-LABlab(28.58, 43.23, 29.60)
CIE-LCHlch(28.58, 52.39, 34.39°)
OKLaboklab(40.1% 0.124 0.0643)
OKLCHoklch(40.1% 0.14 27.4)
XYZxyz(9.9181, 5.6767, 1.4375)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B18 #188083
analogous
#83184B #831B18 #835018
triadic
#831B18 #18831B #1B1883
tetradic
#831B18 #4B8318 #188083 #501883
square
#831B18 #4B8318 #188083 #501883
split-complementary
#831B18 #188350 #184B83
monochromatic
#1C0605 #4F100F #831B18 #B72621 #DB3F3A

Accessibility & contrast

On white

9.84
#831B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#831B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B18
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B18#FFFFFF#000000##FFFFFF
##831B181.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3516
Deuteranopia (green-blind)
#554C13
Tritanopia (blue-blind)
#91001C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831b18;
/* rgb */ color: rgb(131, 27, 24);
/* oklch */ color: oklch(40.1% 0.140 27.4);
Tailwind
colors: {
  custom: {
    50: '#af6155',
    500: '#831b18',
    950: '#000000',
  },
}
SCSS
$custom: #831b18;
$custom-light: #af6155;
$custom-dark: #000000;
JSON
{
  "hex": "#831b18",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 24
  },
  "hsl": {
    "h": 1.682,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.401,
    "c": 0.13967,
    "h": 27.4
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#831B18
secondary
#40B4B7
accent
#E7EC3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120503
muted
#817A78

Preview Lab

Preview with #831B18

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

Preview Lab → · Contrast checker → · Palette generator →

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