#831B23#831B23

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

Color values

HEX#831B23
RGBrgb(131, 27, 35)
HSLhsl(355, 66%, 31%)
HSVhsv(355, 79%, 51%)
CMYKcmyk(0%, 79.4%, 73.3%, 48.6%)
CIE-LABlab(28.73, 43.70, 22.92)
CIE-LCHlch(28.73, 49.35, 27.67°)
OKLaboklab(40.25% 0.128 0.0527)
OKLCHoklch(40.25% 0.138 22.4)
XYZxyz(10.0565, 5.7321, 2.1667)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B23 #1B837B
analogous
#831B57 #831B23 #83471B
triadic
#831B23 #23831B #1B2383
tetradic
#831B23 #57831B #1B837B #471B83
square
#831B23 #57831B #1B837B #471B83
split-complementary
#831B23 #1B8347 #1B5783
monochromatic
#1E0608 #501115 #831B23 #B62531 #D8414C

Accessibility & contrast

On white

9.78
#831B23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831B23
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B23#FFFFFF#000000##FFFFFF
##831B231.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3622
Deuteranopia (green-blind)
#544C20
Tritanopia (blue-blind)
#91001F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831b23;
/* rgb */ color: rgb(131, 27, 35);
/* oklch */ color: oklch(40.3% 0.138 22.4);
Tailwind
colors: {
  custom: {
    50: '#ae625e',
    500: '#831b23',
    950: '#000000',
  },
}
SCSS
$custom: #831b23;
$custom-light: #ae625e;
$custom-dark: #000000;
JSON
{
  "hex": "#831b23",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 35
  },
  "hsl": {
    "h": 355.385,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.1384,
    "h": 22.4
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#831B23
secondary
#43B6AE
accent
#E9DC3F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120504
muted
#817A79

Preview Lab

Preview with #831B23

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

Preview Lab → · Contrast checker → · Palette generator →

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