#831E1C#831E1C

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

Color values

HEX#831E1C
RGBrgb(131, 30, 28)
HSLhsl(1, 65%, 31%)
HSVhsv(1, 79%, 51%)
CMYKcmyk(0%, 77.1%, 78.6%, 48.6%)
CIE-LABlab(29.00, 42.34, 27.63)
CIE-LCHlch(29.00, 50.56, 33.13°)
OKLaboklab(40.43% 0.1221 0.0613)
OKLCHoklch(40.43% 0.137 26.7)
XYZxyz(10.0351, 5.8392, 1.6971)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831E1C #1C8183
analogous
#831C4D #831E1C #83511C
triadic
#831E1C #1C831E #1E1C83
tetradic
#831E1C #4D831C #1C8183 #511C83
square
#831E1C #4D831C #1C8183 #511C83
split-complementary
#831E1C #1C8351 #1C4D83
monochromatic
#1E0706 #511211 #831E1C #B52A27 #D74643

Accessibility & contrast

On white

9.69
#831E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#831E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831E1C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831E1C#FFFFFF#000000##FFFFFF
##831E1C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C361B
Deuteranopia (green-blind)
#554C18
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831e1c;
/* rgb */ color: rgb(131, 30, 28);
/* oklch */ color: oklch(40.4% 0.137 26.7);
Tailwind
colors: {
  custom: {
    50: '#af6358',
    500: '#831e1c',
    950: '#000000',
  },
}
SCSS
$custom: #831e1c;
$custom-light: #af6358;
$custom-dark: #000000;
JSON
{
  "hex": "#831e1c",
  "rgb": {
    "r": 131,
    "g": 30,
    "b": 28
  },
  "hsl": {
    "h": 1.165,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40428,
    "c": 0.13658,
    "h": 26.7
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#831E1C
secondary
#45B4B6
accent
#E5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #831E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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