#86271F#86271F

#86271F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.131 H 28.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#86271F
RGBrgb(134, 39, 31)
HSLhsl(5, 62%, 32%)
HSVhsv(5, 77%, 53%)
CMYKcmyk(0%, 70.9%, 76.9%, 47.5%)
CIE-LABlab(30.93, 39.95, 28.09)
CIE-LCHlch(30.93, 48.84, 35.11°)
OKLaboklab(41.99% 0.1148 0.0629)
OKLCHoklch(41.99% 0.131 28.7)
XYZxyz(10.8056, 6.6199, 2.0049)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86271F #1F7E86
analogous
#861F4B #86271F #865A1F
triadic
#86271F #1F8627 #271F86
tetradic
#86271F #4B861F #1F7E86 #5A1F86
square
#86271F #4B861F #1F7E86 #5A1F86
split-complementary
#86271F #1F865A #1F4B86
monochromatic
#230A08 #541914 #86271F #B8352A #D5554A

Accessibility & contrast

On white

9.04
#86271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#86271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #86271F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86271F#FFFFFF#000000##FFFFFF
##86271F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1D
Deuteranopia (green-blind)
#5A501C
Tritanopia (blue-blind)
#940726
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #86271f;
/* rgb */ color: rgb(134, 39, 31);
/* oklch */ color: oklch(42.0% 0.131 28.7);
Tailwind
colors: {
  custom: {
    50: '#b1675b',
    500: '#86271f',
    950: '#000000',
  },
}
SCSS
$custom: #86271f;
$custom-light: #b1675b;
$custom-dark: #000000;
JSON
{
  "hex": "#86271f",
  "rgb": {
    "r": 134,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 4.66,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.13093,
    "h": 28.7
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#86271F
secondary
#49AFB8
accent
#D9E542
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #86271F

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

Preview Lab → · Contrast checker → · Palette generator →

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