#82271C#82271C

#82271C is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.2% C 0.127 H 30.2°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#82271C
RGBrgb(130, 39, 28)
HSLhsl(6, 65%, 31%)
HSVhsv(6, 78%, 51%)
CMYKcmyk(0%, 70%, 78.5%, 49%)
CIE-LABlab(30.11, 38.39, 28.78)
CIE-LCHlch(30.11, 47.98, 36.85°)
OKLaboklab(41.22% 0.1098 0.0639)
OKLCHoklch(41.22% 0.127 30.2)
XYZxyz(10.1422, 6.2822, 1.7769)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82271C #1C7782
analogous
#821C44 #82271C #825A1C
triadic
#82271C #1C8227 #271C82
tetradic
#82271C #44821C #1C7782 #5A1C82
square
#82271C #44821C #1C7782 #5A1C82
split-complementary
#82271C #1C825A #1C4482
monochromatic
#1D0906 #501811 #82271C #B43627 #D65242

Accessibility & contrast

On white

9.31
#82271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#82271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82271C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82271C#FFFFFF#000000##FFFFFF
##82271C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1A
Deuteranopia (green-blind)
#584E19
Tritanopia (blue-blind)
#8F0A25
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #82271c;
/* rgb */ color: rgb(130, 39, 28);
/* oklch */ color: oklch(41.2% 0.127 30.2);
Tailwind
colors: {
  custom: {
    50: '#ae6759',
    500: '#82271c',
    950: '#000000',
  },
}
SCSS
$custom: #82271c;
$custom-light: #ae6759;
$custom-dark: #000000;
JSON
{
  "hex": "#82271c",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 6.471,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.12699,
    "h": 30.2
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#82271C
secondary
#44A9B5
accent
#D6E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #82271C

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

Preview Lab → · Contrast checker → · Palette generator →

#82271C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva