#831F2D#831F2D

#831F2D is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.8% C 0.134 H 18.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#831F2D
RGBrgb(131, 31, 45)
HSLhsl(352, 62%, 32%)
HSVhsv(352, 76%, 51%)
CMYKcmyk(0%, 76.3%, 65.6%, 48.6%)
CIE-LABlab(29.40, 42.87, 17.24)
CIE-LCHlch(29.40, 46.20, 21.91°)
OKLaboklab(40.81% 0.1276 0.0414)
OKLCHoklch(40.81% 0.134 18)
XYZxyz(10.3248, 5.9963, 3.0958)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831F2D #1F8375
analogous
#831F5F #831F2D #83431F
triadic
#831F2D #2D831F #1F2D83
tetradic
#831F2D #5F831F #1F8375 #431F83
square
#831F2D #5F831F #1F8375 #431F83
split-complementary
#831F2D #1F8343 #1F5F83
monochromatic
#20080B #52131C #831F2D #B42B3E #D4495C

Accessibility & contrast

On white

9.55
#831F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#831F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831F2D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831F2D#FFFFFF#000000##FFFFFF
##831F2D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#544D2A
Tritanopia (blue-blind)
#900025
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #831f2d;
/* rgb */ color: rgb(131, 31, 45);
/* oklch */ color: oklch(40.8% 0.134 18.0);
Tailwind
colors: {
  custom: {
    50: '#ae6465',
    500: '#831f2d',
    950: '#000000',
  },
}
SCSS
$custom: #831f2d;
$custom-light: #ae6465;
$custom-dark: #000000;
JSON
{
  "hex": "#831f2d",
  "rgb": {
    "r": 131,
    "g": 31,
    "b": 45
  },
  "hsl": {
    "h": 351.6,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40812,
    "c": 0.13414,
    "h": 18
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#831F2D
secondary
#48B6A6
accent
#E5CE43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #831F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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