#8C221F#8C221F

#8C221F is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.142 H 26.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#8C221F
RGBrgb(140, 34, 31)
HSLhsl(2, 64%, 34%)
HSVhsv(2, 78%, 55%)
CMYKcmyk(0%, 75.7%, 77.9%, 45.1%)
CIE-LABlab(31.39, 43.99, 28.95)
CIE-LCHlch(31.39, 52.65, 33.35°)
OKLaboklab(42.55% 0.1268 0.0643)
OKLCHoklch(42.55% 0.142 26.9)
XYZxyz(11.6359, 6.8202, 1.9998)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C221F #1F898C
analogous
#8C1F52 #8C221F #8C581F
triadic
#8C221F #1F8C22 #221F8C
tetradic
#8C221F #528C1F #1F898C #581F8C
square
#8C221F #528C1F #1F898C #581F8C
split-complementary
#8C221F #1F8C58 #1F528C
monochromatic
#280A09 #5A1614 #8C221F #BE2E2A #D8514E

Accessibility & contrast

On white

8.88
#8C221F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8C221F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C221F
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C221F#FFFFFF#000000##FFFFFF
##8C221F1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423B1D
Deuteranopia (green-blind)
#5C521B
Tritanopia (blue-blind)
#9B0023
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8c221f;
/* rgb */ color: rgb(140, 34, 31);
/* oklch */ color: oklch(42.6% 0.142 26.9);
Tailwind
colors: {
  custom: {
    50: '#b6665b',
    500: '#8c221f',
    950: '#000000',
  },
}
SCSS
$custom: #8c221f;
$custom-light: #b6665b;
$custom-dark: #000000;
JSON
{
  "hex": "#8c221f",
  "rgb": {
    "r": 140,
    "g": 34,
    "b": 31
  },
  "hsl": {
    "h": 1.651,
    "s": 63.743,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.14215,
    "h": 26.9
  },
  "luminance": 0.06818
}

Semantic roles & 50–950 ramp

primary
#8C221F
secondary
#4CB8BB
accent
#E2E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8C221F

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

Preview Lab → · Contrast checker → · Palette generator →

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