#831C2D#831C2D

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

Color values

HEX#831C2D
RGBrgb(131, 28, 45)
HSLhsl(350, 65%, 31%)
HSVhsv(350, 79%, 51%)
CMYKcmyk(0%, 78.6%, 65.6%, 48.6%)
CIE-LABlab(29.02, 43.93, 16.75)
CIE-LCHlch(29.02, 47.01, 20.87°)
OKLaboklab(40.53% 0.131 0.0403)
OKLCHoklch(40.53% 0.137 17.1)
XYZxyz(10.2501, 5.8468, 3.0709)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C2D #1C8372
analogous
#831C60 #831C2D #833E1C
triadic
#831C2D #2D831C #1C2D83
tetradic
#831C2D #60831C #1C8372 #3E1C83
square
#831C2D #60831C #1C8372 #3E1C83
split-complementary
#831C2D #1C833E #1C6083
monochromatic
#1E060A #51111C #831C2D #B5273E #D7435B

Accessibility & contrast

On white

9.68
#831C2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#831C2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831C2D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C2D#FFFFFF#000000##FFFFFF
##831C2D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #831c2d;
/* rgb */ color: rgb(131, 28, 45);
/* oklch */ color: oklch(40.5% 0.137 17.1);
Tailwind
colors: {
  custom: {
    50: '#ae6265',
    500: '#831c2d',
    950: '#000000',
  },
}
SCSS
$custom: #831c2d;
$custom-light: #ae6265;
$custom-dark: #000000;
JSON
{
  "hex": "#831c2d",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 45
  },
  "hsl": {
    "h": 350.097,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4053,
    "c": 0.13705,
    "h": 17.1
  },
  "luminance": 0.05845
}

Semantic roles & 50–950 ramp

primary
#831C2D
secondary
#45B6A3
accent
#E8CC40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #831C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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