#8F271C#8F271C

#8F271C is a dark, vivid red. Relative luminance 0.074; OKLCH L 43.6% C 0.141 H 29.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#8F271C
RGBrgb(143, 39, 28)
HSLhsl(6, 67%, 34%)
HSVhsv(6, 80%, 56%)
CMYKcmyk(0%, 72.7%, 80.4%, 43.9%)
CIE-LABlab(32.65, 42.97, 32.22)
CIE-LCHlch(32.65, 53.70, 36.86°)
OKLaboklab(43.59% 0.1226 0.0703)
OKLCHoklch(43.59% 0.141 29.8)
XYZxyz(12.2642, 7.3764, 1.8764)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F271C #1C848F
analogous
#8F1C4A #8F271C #8F601C
triadic
#8F271C #1C8F27 #271C8F
tetradic
#8F271C #4A8F1C #1C848F #601C8F
square
#8F271C #4A8F1C #1C848F #601C8F
split-complementary
#8F271C #1C8F60 #1C4A8F
monochromatic
#290B08 #5C1912 #8F271C #C23526 #DC584A

Accessibility & contrast

On white

8.48
#8F271C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8F271C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F271C
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F271C#FFFFFF#000000##FFFFFF
##8F271C1.008.482.478.48
#FFFFFF8.481.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E1A
Deuteranopia (green-blind)
#605518
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f271c;
/* rgb */ color: rgb(143, 39, 28);
/* oklch */ color: oklch(43.6% 0.141 29.8);
Tailwind
colors: {
  custom: {
    50: '#b86959',
    500: '#8f271c',
    950: '#000000',
  },
}
SCSS
$custom: #8f271c;
$custom-light: #b86959;
$custom-dark: #000000;
JSON
{
  "hex": "#8f271c",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 28
  },
  "hsl": {
    "h": 5.739,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43586,
    "c": 0.14129,
    "h": 29.8
  },
  "luminance": 0.07375
}

Semantic roles & 50–950 ramp

primary
#8F271C
secondary
#49B2BE
accent
#DAEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8F271C

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

Preview Lab → · Contrast checker → · Palette generator →

#8F271C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva