#8A1C21#8A1C21

#8A1C21 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.6% C 0.145 H 24.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8A1C21
RGBrgb(138, 28, 33)
HSLhsl(357, 66%, 33%)
HSVhsv(357, 80%, 54%)
CMYKcmyk(0%, 79.7%, 76.1%, 45.9%)
CIE-LABlab(30.27, 45.50, 26.35)
CIE-LCHlch(30.27, 52.58, 30.08°)
OKLaboklab(41.65% 0.1323 0.0593)
OKLCHoklch(41.65% 0.145 24.2)
XYZxyz(11.1723, 6.3453, 2.0751)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1C21 #1C8A85
analogous
#8A1C58 #8A1C21 #8A4E1C
triadic
#8A1C21 #218A1C #1C218A
tetradic
#8A1C21 #588A1C #1C8A85 #4E1C8A
square
#8A1C21 #588A1C #1C8A85 #4E1C8A
split-complementary
#8A1C21 #1C8A4E #1C588A
monochromatic
#240709 #571215 #8A1C21 #BD262D #DA474D

Accessibility & contrast

On white

9.26
#8A1C21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1C21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1C21
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1C21#FFFFFF#000000##FFFFFF
##8A1C211.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3820
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1c21;
/* rgb */ color: rgb(138, 28, 33);
/* oklch */ color: oklch(41.6% 0.145 24.2);
Tailwind
colors: {
  custom: {
    50: '#b4635c',
    500: '#8a1c21',
    950: '#000000',
  },
}
SCSS
$custom: #8a1c21;
$custom-light: #b4635c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1c21",
  "rgb": {
    "r": 138,
    "g": 28,
    "b": 33
  },
  "hsl": {
    "h": 357.273,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41648,
    "c": 0.14497,
    "h": 24.2
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#8A1C21
secondary
#46BBB6
accent
#E9E13F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1C21

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

Preview Lab → · Contrast checker → · Palette generator →

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