#8F1721#8F1721

#8F1721 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.154 H 23.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#8F1721
RGBrgb(143, 23, 33)
HSLhsl(355, 72%, 33%)
HSVhsv(355, 84%, 56%)
CMYKcmyk(0%, 83.9%, 76.9%, 43.9%)
CIE-LABlab(30.79, 48.51, 27.23)
CIE-LCHlch(30.79, 55.63, 29.30°)
OKLaboklab(42.22% 0.1412 0.0609)
OKLCHoklch(42.22% 0.154 23.3)
XYZxyz(11.9100, 6.5642, 2.0785)
Luminance0.0656 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1721 #178F85
analogous
#8F175D #8F1721 #8F4917
triadic
#8F1721 #218F17 #17218F
tetradic
#8F1721 #5D8F17 #178F85 #49178F
square
#8F1721 #5D8F17 #178F85 #49178F
split-complementary
#8F1721 #178F49 #175D8F
monochromatic
#260609 #5A0F15 #8F1721 #C41F2D #E0404D

Accessibility & contrast

On white

9.08
#8F1721 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8F1721 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1721
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1721#FFFFFF#000000##FFFFFF
##8F17211.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#5B521C
Tritanopia (blue-blind)
#9E001C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8f1721;
/* rgb */ color: rgb(143, 23, 33);
/* oklch */ color: oklch(42.2% 0.154 23.3);
Tailwind
colors: {
  custom: {
    50: '#b8625c',
    500: '#8f1721',
    950: '#000000',
  },
}
SCSS
$custom: #8f1721;
$custom-light: #b8625c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1721",
  "rgb": {
    "r": 143,
    "g": 23,
    "b": 33
  },
  "hsl": {
    "h": 355,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42224,
    "c": 0.15373,
    "h": 23.3
  },
  "luminance": 0.06562
}

Semantic roles & 50–950 ramp

primary
#8F1721
secondary
#41C1B6
accent
#EFE039
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8F1721

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

Preview Lab → · Contrast checker → · Palette generator →

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