#821831#821831

#821831 is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.1% C 0.140 H 13.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#821831
RGBrgb(130, 24, 49)
HSLhsl(346, 69%, 30%)
HSVhsv(346, 82%, 51%)
CMYKcmyk(0%, 81.5%, 62.3%, 49%)
CIE-LABlab(28.44, 45.19, 13.28)
CIE-LCHlch(28.44, 47.10, 16.37°)
OKLaboklab(40.09% 0.136 0.0326)
OKLCHoklch(40.09% 0.14 13.5)
XYZxyz(10.0880, 5.6224, 3.4592)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#821831 #188269
analogous
#821866 #821831 #823418
triadic
#821831 #318218 #183182
tetradic
#821831 #668218 #188269 #341882
square
#821831 #668218 #188269 #341882
split-complementary
#821831 #188234 #186682
monochromatic
#1B050A #4E0E1E #821831 #B62244 #DB3A60

Accessibility & contrast

On white

9.89
#821831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#821831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #821831
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##821831#FFFFFF#000000##FFFFFF
##8218311.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363531
Deuteranopia (green-blind)
#514B2E
Tritanopia (blue-blind)
#8F0023
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #821831;
/* rgb */ color: rgb(130, 24, 49);
/* oklch */ color: oklch(40.1% 0.140 13.5);
Tailwind
colors: {
  custom: {
    50: '#ad6168',
    500: '#821831',
    950: '#000000',
  },
}
SCSS
$custom: #821831;
$custom-light: #ad6168;
$custom-dark: #000000;
JSON
{
  "hex": "#821831",
  "rgb": {
    "r": 130,
    "g": 24,
    "b": 49
  },
  "hsl": {
    "h": 345.849,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40088,
    "c": 0.13986,
    "h": 13.5
  },
  "luminance": 0.05621
}

Semantic roles & 50–950 ramp

primary
#821831
secondary
#40B69A
accent
#ECC23C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #821831

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

Preview Lab → · Contrast checker → · Palette generator →

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