#831021#831021

#831021 is a dark, vivid red. Relative luminance 0.053; OKLCH L 39.4% C 0.147 H 20.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#831021
RGBrgb(131, 16, 33)
HSLhsl(351, 78%, 29%)
HSVhsv(351, 88%, 51%)
CMYKcmyk(0%, 87.8%, 74.8%, 48.6%)
CIE-LABlab(27.59, 46.73, 22.87)
CIE-LCHlch(27.59, 52.02, 26.08°)
OKLaboklab(39.4% 0.1372 0.0522)
OKLCHoklch(39.4% 0.147 20.8)
XYZxyz(9.8210, 5.3073, 1.9458)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#831021 #108372
analogous
#83105B #831021 #833910
triadic
#831021 #218310 #102183
tetradic
#831021 #5B8310 #108372 #391083
square
#831021 #5B8310 #108372 #391083
split-complementary
#831021 #108339 #105B83
monochromatic
#1B0307 #4C0913 #831021 #BA172F #E52944

Accessibility & contrast

On white

10.19
#831021 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#831021 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #831021
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##831021#FFFFFF#000000##FFFFFF
##8310211.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363221
Deuteranopia (green-blind)
#524A1D
Tritanopia (blue-blind)
#910018
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #831021;
/* rgb */ color: rgb(131, 16, 33);
/* oklch */ color: oklch(39.4% 0.147 20.8);
Tailwind
colors: {
  custom: {
    50: '#af5e5c',
    500: '#831021',
    950: '#000000',
  },
}
SCSS
$custom: #831021;
$custom-light: #af5e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#831021",
  "rgb": {
    "r": 131,
    "g": 16,
    "b": 33
  },
  "hsl": {
    "h": 351.13,
    "s": 78.231,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39404,
    "c": 0.14675,
    "h": 20.8
  },
  "luminance": 0.05306
}

Semantic roles & 50–950 ramp

primary
#831021
secondary
#36B9A5
accent
#F5D833
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#120504
muted
#817979

Preview Lab

Preview with #831021

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

Preview Lab → · Contrast checker → · Palette generator →

#831021 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva