#8A1A21#8A1A21

#8A1A21 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.147 H 23.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#8A1A21
RGBrgb(138, 26, 33)
HSLhsl(356, 68%, 32%)
HSVhsv(356, 81%, 54%)
CMYKcmyk(0%, 81.2%, 76.1%, 45.9%)
CIE-LABlab(30.04, 46.13, 26.09)
CIE-LCHlch(30.04, 53.00, 29.50°)
OKLaboklab(41.48% 0.1343 0.0588)
OKLCHoklch(41.48% 0.147 23.6)
XYZxyz(11.1265, 6.2536, 2.0598)
Luminance0.0625 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A21 #1A8A83
analogous
#8A1A59 #8A1A21 #8A4B1A
triadic
#8A1A21 #218A1A #1A218A
tetradic
#8A1A21 #598A1A #1A8A83 #4B1A8A
square
#8A1A21 #598A1A #1A8A83 #4B1A8A
split-complementary
#8A1A21 #1A8A4B #1A598A
monochromatic
#230708 #571015 #8A1A21 #BD242D #DC434C

Accessibility & contrast

On white

9.33
#8A1A21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#8A1A21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A21
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A21#FFFFFF#000000##FFFFFF
##8A1A211.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3720
Deuteranopia (green-blind)
#594F1D
Tritanopia (blue-blind)
#98001E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1a21;
/* rgb */ color: rgb(138, 26, 33);
/* oklch */ color: oklch(41.5% 0.147 23.6);
Tailwind
colors: {
  custom: {
    50: '#b4625c',
    500: '#8a1a21',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a21;
$custom-light: #b4625c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a21",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 33
  },
  "hsl": {
    "h": 356.25,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41482,
    "c": 0.14657,
    "h": 23.6
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#8A1A21
secondary
#43BDB5
accent
#EBE03D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1A21

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

Preview Lab → · Contrast checker → · Palette generator →

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