#831A2E#831A2E

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

Color values

HEX#831A2E
RGBrgb(131, 26, 46)
HSLhsl(349, 67%, 31%)
HSVhsv(349, 80%, 51%)
CMYKcmyk(0%, 80.2%, 64.9%, 48.6%)
CIE-LABlab(28.81, 44.66, 15.80)
CIE-LCHlch(28.81, 47.37, 19.48°)
OKLaboklab(40.38% 0.1336 0.0382)
OKLCHoklch(40.38% 0.139 16)
XYZxyz(10.2237, 5.7629, 3.1583)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A2E #1A836F
analogous
#831A62 #831A2E #833A1A
triadic
#831A2E #2E831A #1A2E83
tetradic
#831A2E #62831A #1A836F #3A1A83
square
#831A2E #62831A #1A836F #3A1A83
split-complementary
#831A2E #1A833A #1A6283
monochromatic
#1D060A #50101C #831A2E #B62440 #D93F5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##831A2E#FFFFFF#000000##FFFFFF
##831A2E1.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)
#38362E
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831a2e;
/* rgb */ color: rgb(131, 26, 46);
/* oklch */ color: oklch(40.4% 0.139 16.0);
Tailwind
colors: {
  custom: {
    50: '#ae6166',
    500: '#831a2e',
    950: '#000000',
  },
}
SCSS
$custom: #831a2e;
$custom-light: #ae6166;
$custom-dark: #000000;
JSON
{
  "hex": "#831a2e",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 348.571,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40376,
    "c": 0.13892,
    "h": 16
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#831A2E
secondary
#42B7A0
accent
#EAC93E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #831A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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