#831A2F#831A2F

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

Color values

HEX#831A2F
RGBrgb(131, 26, 47)
HSLhsl(348, 67%, 31%)
HSVhsv(348, 80%, 51%)
CMYKcmyk(0%, 80.2%, 64.1%, 48.6%)
CIE-LABlab(28.83, 44.72, 15.16)
CIE-LCHlch(28.83, 47.23, 18.73°)
OKLaboklab(40.4% 0.134 0.0368)
OKLCHoklch(40.4% 0.139 15.4)
XYZxyz(10.2436, 5.7709, 3.2633)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831A2F #1A836E
analogous
#831A63 #831A2F #83391A
triadic
#831A2F #2F831A #1A2F83
tetradic
#831A2F #63831A #1A836E #391A83
square
#831A2F #63831A #1A836E #391A83
split-complementary
#831A2F #1A8339 #1A6383
monochromatic
#1D060A #50101D #831A2F #B62441 #D93F5D

Accessibility & contrast

On white

9.75
#831A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831A2F
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831A2F#FFFFFF#000000##FFFFFF
##831A2F1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38362F
Deuteranopia (green-blind)
#534C2C
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831a2f;
/* rgb */ color: rgb(131, 26, 47);
/* oklch */ color: oklch(40.4% 0.139 15.4);
Tailwind
colors: {
  custom: {
    50: '#ae6167',
    500: '#831a2f',
    950: '#000000',
  },
}
SCSS
$custom: #831a2f;
$custom-light: #ae6167;
$custom-dark: #000000;
JSON
{
  "hex": "#831a2f",
  "rgb": {
    "r": 131,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 348,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40398,
    "c": 0.13895,
    "h": 15.4
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#831A2F
secondary
#42B79F
accent
#EAC73E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #831A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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