#831A2D#831A2D

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

Color values

HEX#831A2D
RGBrgb(131, 26, 45)
HSLhsl(349, 67%, 31%)
HSVhsv(349, 80%, 51%)
CMYKcmyk(0%, 80.2%, 65.6%, 48.6%)
CIE-LABlab(28.79, 44.60, 16.44)
CIE-LCHlch(28.79, 47.53, 20.24°)
OKLaboklab(40.36% 0.1331 0.0396)
OKLCHoklch(40.36% 0.139 16.6)
XYZxyz(10.2042, 5.7551, 3.0557)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A2D #1A8370
analogous
#831A61 #831A2D #833B1A
triadic
#831A2D #2D831A #1A2D83
tetradic
#831A2D #61831A #1A8370 #3B1A83
square
#831A2D #61831A #1A8370 #3B1A83
split-complementary
#831A2D #1A833B #1A6183
monochromatic
#1D060A #50101B #831A2D #B6243F #D93F5A

Accessibility & contrast

On white

9.76
#831A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A2D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A2D#FFFFFF#000000##FFFFFF
##831A2D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362D
Deuteranopia (green-blind)
#534C2A
Tritanopia (blue-blind)
#900022
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831a2d;
/* rgb */ color: rgb(131, 26, 45);
/* oklch */ color: oklch(40.4% 0.139 16.6);
Tailwind
colors: {
  custom: {
    50: '#ae6165',
    500: '#831a2d',
    950: '#000000',
  },
}
SCSS
$custom: #831a2d;
$custom-light: #ae6165;
$custom-dark: #000000;
JSON
{
  "hex": "#831a2d",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 349.143,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.1389,
    "h": 16.6
  },
  "luminance": 0.05754
}

Semantic roles & 50–950 ramp

primary
#831A2D
secondary
#42B7A2
accent
#EACB3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120505
muted
#817A7A

Preview Lab

Preview with #831A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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