#831B2F#831B2F

#831B2F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.5% C 0.138 H 15.6°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#831B2F
RGBrgb(131, 27, 47)
HSLhsl(348, 66%, 31%)
HSVhsv(348, 79%, 51%)
CMYKcmyk(0%, 79.4%, 64.1%, 48.6%)
CIE-LABlab(28.94, 44.40, 15.32)
CIE-LCHlch(28.94, 46.97, 19.03°)
OKLaboklab(40.48% 0.1329 0.0372)
OKLCHoklch(40.48% 0.138 15.6)
XYZxyz(10.2662, 5.8159, 3.2708)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831B2F #1B836F
analogous
#831B63 #831B2F #833B1B
triadic
#831B2F #2F831B #1B2F83
tetradic
#831B2F #63831B #1B836F #3B1B83
square
#831B2F #63831B #1B836F #3B1B83
split-complementary
#831B2F #1B833B #1B6383
monochromatic
#1E060B #50111D #831B2F #B62541 #D8415E

Accessibility & contrast

On white

9.71
#831B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#831B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831B2F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831B2F#FFFFFF#000000##FFFFFF
##831B2F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831b2f;
/* rgb */ color: rgb(131, 27, 47);
/* oklch */ color: oklch(40.5% 0.138 15.6);
Tailwind
colors: {
  custom: {
    50: '#ae6267',
    500: '#831b2f',
    950: '#000000',
  },
}
SCSS
$custom: #831b2f;
$custom-light: #ae6267;
$custom-dark: #000000;
JSON
{
  "hex": "#831b2f",
  "rgb": {
    "r": 131,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 348.462,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40484,
    "c": 0.13802,
    "h": 15.6
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#831B2F
secondary
#43B6A0
accent
#E9C83F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #831B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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