#82271B#82271B

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

Color values

HEX#82271B
RGBrgb(130, 39, 27)
HSLhsl(7, 66%, 31%)
HSVhsv(7, 79%, 51%)
CMYKcmyk(0%, 70%, 79.2%, 49%)
CIE-LABlab(30.10, 38.35, 29.35)
CIE-LCHlch(30.10, 48.29, 37.43°)
OKLaboklab(41.21% 0.1094 0.0648)
OKLCHoklch(41.21% 0.127 30.6)
XYZxyz(10.1304, 6.2775, 1.7150)
Luminance0.0628 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82271B #1B7682
analogous
#821B42 #82271B #825A1B
triadic
#82271B #1B8227 #271B82
tetradic
#82271B #42821B #1B7682 #5A1B82
square
#82271B #42821B #1B7682 #5A1B82
split-complementary
#82271B #1B825A #1B4282
monochromatic
#1D0906 #4F1810 #82271B #B53626 #D75240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##82271B#FFFFFF#000000##FFFFFF
##82271B1.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)
#413A19
Deuteranopia (green-blind)
#584E18
Tritanopia (blue-blind)
#8F0A25
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #82271b;
/* rgb */ color: rgb(130, 39, 27);
/* oklch */ color: oklch(41.2% 0.127 30.6);
Tailwind
colors: {
  custom: {
    50: '#ae6758',
    500: '#82271b',
    950: '#000000',
  },
}
SCSS
$custom: #82271b;
$custom-light: #ae6758;
$custom-dark: #000000;
JSON
{
  "hex": "#82271b",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.99,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4121,
    "c": 0.12719,
    "h": 30.6
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#82271B
secondary
#43A8B6
accent
#D5E93F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #82271B

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

Preview Lab → · Contrast checker → · Palette generator →

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