#82271F#82271F

#82271F is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.3% C 0.126 H 28.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#82271F
RGBrgb(130, 39, 31)
HSLhsl(5, 61%, 32%)
HSVhsv(5, 76%, 51%)
CMYKcmyk(0%, 70%, 76.2%, 49%)
CIE-LABlab(30.15, 38.53, 27.02)
CIE-LCHlch(30.15, 47.05, 35.04°)
OKLaboklab(41.26% 0.1109 0.0608)
OKLCHoklch(41.26% 0.126 28.8)
XYZxyz(10.1799, 6.2973, 1.9755)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82271F #1F7A82
analogous
#821F49 #82271F #82591F
triadic
#82271F #1F8227 #271F82
tetradic
#82271F #49821F #1F7A82 #591F82
square
#82271F #49821F #1F7A82 #591F82
split-complementary
#82271F #1F8259 #1F4982
monochromatic
#1F0907 #511813 #82271F #B3362B #D35348

Accessibility & contrast

On white

9.30
#82271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82271F
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82271F#FFFFFF#000000##FFFFFF
##82271F1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A1D
Deuteranopia (green-blind)
#574E1C
Tritanopia (blue-blind)
#8F0B26
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #82271f;
/* rgb */ color: rgb(130, 39, 31);
/* oklch */ color: oklch(41.3% 0.126 28.8);
Tailwind
colors: {
  custom: {
    50: '#ad675b',
    500: '#82271f',
    950: '#000000',
  },
}
SCSS
$custom: #82271f;
$custom-light: #ad675b;
$custom-dark: #000000;
JSON
{
  "hex": "#82271f",
  "rgb": {
    "r": 130,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.848,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41261,
    "c": 0.12644,
    "h": 28.8
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#82271F
secondary
#48ACB5
accent
#D8E543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #82271F

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

Preview Lab → · Contrast checker → · Palette generator →

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