#8F271A#8F271A

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

Color values

HEX#8F271A
RGBrgb(143, 39, 26)
HSLhsl(7, 69%, 33%)
HSVhsv(7, 82%, 56%)
CMYKcmyk(0%, 72.7%, 81.8%, 43.9%)
CIE-LABlab(32.63, 42.90, 33.33)
CIE-LCHlch(32.63, 54.32, 37.84°)
OKLaboklab(43.56% 0.1219 0.0721)
OKLCHoklch(43.56% 0.142 30.6)
XYZxyz(12.2411, 7.3671, 1.7545)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F271A #1A828F
analogous
#8F1A47 #8F271A #8F611A
triadic
#8F271A #1A8F27 #271A8F
tetradic
#8F271A #478F1A #1A828F #611A8F
square
#8F271A #478F1A #1A828F #611A8F
split-complementary
#8F271A #1A8F61 #1A478F
monochromatic
#270B07 #5B1911 #8F271A #C33523 #DD5746

Accessibility & contrast

On white

8.49
#8F271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F271A
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F271A#FFFFFF#000000##FFFFFF
##8F271A1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f271a;
/* rgb */ color: rgb(143, 39, 26);
/* oklch */ color: oklch(43.6% 0.142 30.6);
Tailwind
colors: {
  custom: {
    50: '#b86958',
    500: '#8f271a',
    950: '#000000',
  },
}
SCSS
$custom: #8f271a;
$custom-light: #b86958;
$custom-dark: #000000;
JSON
{
  "hex": "#8f271a",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 6.667,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43564,
    "c": 0.14163,
    "h": 30.6
  },
  "luminance": 0.07365
}

Semantic roles & 50–950 ramp

primary
#8F271A
secondary
#46B1BF
accent
#D8EC3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8F271A

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

Preview Lab → · Contrast checker → · Palette generator →

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