#831C2C#831C2C

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

Color values

HEX#831C2C
RGBrgb(131, 28, 44)
HSLhsl(351, 65%, 31%)
HSVhsv(351, 79%, 51%)
CMYKcmyk(0%, 78.6%, 66.4%, 48.6%)
CIE-LABlab(29.00, 43.87, 17.38)
CIE-LCHlch(29.00, 47.19, 21.62°)
OKLaboklab(40.51% 0.1306 0.0416)
OKLCHoklch(40.51% 0.137 17.7)
XYZxyz(10.2310, 5.8392, 2.9707)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831C2C #1C8373
analogous
#831C5F #831C2C #833F1C
triadic
#831C2C #2C831C #1C2C83
tetradic
#831C2C #5F831C #1C8373 #3F1C83
square
#831C2C #5F831C #1C8373 #3F1C83
split-complementary
#831C2C #1C833F #1C5F83
monochromatic
#1E060A #51111B #831C2C #B5273D #D7435A

Accessibility & contrast

On white

9.69
#831C2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #831C2C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831C2C#FFFFFF#000000##FFFFFF
##831C2C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#544C29
Tritanopia (blue-blind)
#900023
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #831c2c;
/* rgb */ color: rgb(131, 28, 44);
/* oklch */ color: oklch(40.5% 0.137 17.7);
Tailwind
colors: {
  custom: {
    50: '#ae6264',
    500: '#831c2c',
    950: '#000000',
  },
}
SCSS
$custom: #831c2c;
$custom-light: #ae6264;
$custom-dark: #000000;
JSON
{
  "hex": "#831c2c",
  "rgb": {
    "r": 131,
    "g": 28,
    "b": 44
  },
  "hsl": {
    "h": 350.68,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.13706,
    "h": 17.7
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#831C2C
secondary
#45B6A5
accent
#E8CE40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A

Preview Lab

Preview with #831C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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