#831A23#831A23

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

Color values

HEX#831A23
RGBrgb(131, 26, 35)
HSLhsl(355, 67%, 31%)
HSVhsv(355, 80%, 51%)
CMYKcmyk(0%, 80.2%, 73.3%, 48.6%)
CIE-LABlab(28.61, 44.03, 22.78)
CIE-LCHlch(28.61, 49.57, 27.35°)
OKLaboklab(40.17% 0.129 0.0524)
OKLCHoklch(40.17% 0.139 22.1)
XYZxyz(10.0340, 5.6870, 2.1591)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A23 #1A837A
analogous
#831A57 #831A23 #83451A
triadic
#831A23 #23831A #1A2383
tetradic
#831A23 #57831A #1A837A #451A83
square
#831A23 #57831A #1A837A #451A83
split-complementary
#831A23 #1A8345 #1A5783
monochromatic
#1D0608 #501015 #831A23 #B62431 #D93F4C

Accessibility & contrast

On white

9.83
#831A23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A23
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A23#FFFFFF#000000##FFFFFF
##831A231.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3522
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#91001E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #831a23;
/* rgb */ color: rgb(131, 26, 35);
/* oklch */ color: oklch(40.2% 0.139 22.1);
Tailwind
colors: {
  custom: {
    50: '#af615d',
    500: '#831a23',
    950: '#000000',
  },
}
SCSS
$custom: #831a23;
$custom-light: #af615d;
$custom-dark: #000000;
JSON
{
  "hex": "#831a23",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 35
  },
  "hsl": {
    "h": 354.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40166,
    "c": 0.13926,
    "h": 22.1
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#831A23
secondary
#42B7AD
accent
#EADB3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831A23

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

Preview Lab → · Contrast checker → · Palette generator →

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