#831F17#831F17

#831F17 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.136 H 29.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#831F17
RGBrgb(131, 31, 23)
HSLhsl(4, 70%, 30%)
HSVhsv(4, 82%, 51%)
CMYKcmyk(0%, 76.3%, 82.4%, 48.6%)
CIE-LABlab(29.08, 41.78, 30.69)
CIE-LCHlch(29.08, 51.84, 36.29°)
OKLaboklab(40.47% 0.1192 0.0664)
OKLCHoklch(40.47% 0.136 29.1)
XYZxyz(10.0059, 5.8687, 1.4164)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F17 #177B83
analogous
#831745 #831F17 #835517
triadic
#831F17 #17831F #1F1783
tetradic
#831F17 #458317 #177B83 #551783
square
#831F17 #458317 #177B83 #551783
split-complementary
#831F17 #178355 #174583
monochromatic
#1B0605 #4F130E #831F17 #B72B20 #DC4438

Accessibility & contrast

On white

9.66
#831F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831F17
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F17#FFFFFF#000000##FFFFFF
##831F171.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3715
Deuteranopia (green-blind)
#564C12
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f17;
/* rgb */ color: rgb(131, 31, 23);
/* oklch */ color: oklch(40.5% 0.136 29.1);
Tailwind
colors: {
  custom: {
    50: '#af6355',
    500: '#831f17',
    950: '#000000',
  },
}
SCSS
$custom: #831f17;
$custom-light: #af6355;
$custom-dark: #000000;
JSON
{
  "hex": "#831f17",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 23
  },
  "hsl": {
    "h": 4.444,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.13644,
    "h": 29.1
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#831F17
secondary
#3FAEB7
accent
#E0ED3B
background
#FBF6F5
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #831F17

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

Preview Lab → · Contrast checker → · Palette generator →

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