#84271F#84271F

#84271F is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.6% C 0.129 H 28.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#84271F
RGBrgb(132, 39, 31)
HSLhsl(5, 62%, 32%)
HSVhsv(5, 77%, 52%)
CMYKcmyk(0%, 70.5%, 76.5%, 48.2%)
CIE-LABlab(30.54, 39.24, 27.56)
CIE-LCHlch(30.54, 47.95, 35.08°)
OKLaboklab(41.62% 0.1129 0.0619)
OKLCHoklch(41.62% 0.129 28.7)
XYZxyz(10.4897, 6.4571, 1.9900)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84271F #1F7C84
analogous
#841F4A #84271F #84591F
triadic
#84271F #1F8427 #271F84
tetradic
#84271F #4A841F #1F7C84 #591F84
square
#84271F #4A841F #1F7C84 #591F84
split-complementary
#84271F #1F8459 #1F4A84
monochromatic
#210A08 #521813 #84271F #B6362B #D45449

Accessibility & contrast

On white

9.17
#84271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#84271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84271F
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84271F#FFFFFF#000000##FFFFFF
##84271F1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#920926
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #84271f;
/* rgb */ color: rgb(132, 39, 31);
/* oklch */ color: oklch(41.6% 0.129 28.7);
Tailwind
colors: {
  custom: {
    50: '#af675b',
    500: '#84271f',
    950: '#000000',
  },
}
SCSS
$custom: #84271f;
$custom-light: #af675b;
$custom-dark: #000000;
JSON
{
  "hex": "#84271f",
  "rgb": {
    "r": 132,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.752,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41623,
    "c": 0.12869,
    "h": 28.7
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #84271F

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

Preview Lab → · Contrast checker → · Palette generator →

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