#8F271B#8F271B

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

Color values

HEX#8F271B
RGBrgb(143, 39, 27)
HSLhsl(6, 68%, 33%)
HSVhsv(6, 81%, 56%)
CMYKcmyk(0%, 72.7%, 81.1%, 43.9%)
CIE-LABlab(32.64, 42.93, 32.78)
CIE-LCHlch(32.64, 54.01, 37.36°)
OKLaboklab(43.58% 0.1222 0.0712)
OKLCHoklch(43.58% 0.141 30.2)
XYZxyz(12.2525, 7.3717, 1.8144)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F271B #1B838F
analogous
#8F1B49 #8F271B #8F611B
triadic
#8F271B #1B8F27 #271B8F
tetradic
#8F271B #498F1B #1B838F #611B8F
square
#8F271B #498F1B #1B838F #611B8F
split-complementary
#8F271B #1B8F61 #1B498F
monochromatic
#280B08 #5C1911 #8F271B #C23525 #DC5748

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F271B#FFFFFF#000000##FFFFFF
##8F271B1.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)
#463E19
Deuteranopia (green-blind)
#605516
Tritanopia (blue-blind)
#9E0025
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8f271b;
/* rgb */ color: rgb(143, 39, 27);
/* oklch */ color: oklch(43.6% 0.141 30.2);
Tailwind
colors: {
  custom: {
    50: '#b86958',
    500: '#8f271b',
    950: '#000000',
  },
}
SCSS
$custom: #8f271b;
$custom-light: #b86958;
$custom-dark: #000000;
JSON
{
  "hex": "#8f271b",
  "rgb": {
    "r": 143,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 6.207,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.14146,
    "h": 30.2
  },
  "luminance": 0.0737
}

Semantic roles & 50–950 ramp

primary
#8F271B
secondary
#48B2BE
accent
#D9EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #8F271B

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

Preview Lab → · Contrast checker → · Palette generator →

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