#8A1D21#8A1D21

#8A1D21 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.144 H 24.4°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#8A1D21
RGBrgb(138, 29, 33)
HSLhsl(358, 65%, 33%)
HSVhsv(358, 79%, 54%)
CMYKcmyk(0%, 79%, 76.1%, 45.9%)
CIE-LABlab(30.38, 45.17, 26.48)
CIE-LCHlch(30.38, 52.36, 30.38°)
OKLaboklab(41.74% 0.1312 0.0596)
OKLCHoklch(41.74% 0.144 24.4)
XYZxyz(11.1964, 6.3936, 2.0831)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D21 #1D8A86
analogous
#8A1D58 #8A1D21 #8A4F1D
triadic
#8A1D21 #218A1D #1D218A
tetradic
#8A1D21 #588A1D #1D8A86 #4F1D8A
square
#8A1D21 #588A1D #1D8A86 #4F1D8A
split-complementary
#8A1D21 #1D8A4F #1D588A
monochromatic
#250809 #571215 #8A1D21 #BD282D #D9494E

Accessibility & contrast

On white

9.22
#8A1D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D21
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D21#FFFFFF#000000##FFFFFF
##8A1D211.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3920
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1d21;
/* rgb */ color: rgb(138, 29, 33);
/* oklch */ color: oklch(41.7% 0.144 24.4);
Tailwind
colors: {
  custom: {
    50: '#b4635c',
    500: '#8a1d21',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d21;
$custom-light: #b4635c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d21",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 33
  },
  "hsl": {
    "h": 357.798,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41735,
    "c": 0.14414,
    "h": 24.4
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#8A1D21
secondary
#48BBB7
accent
#E8E240
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79

Preview Lab

Preview with #8A1D21

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

Preview Lab → · Contrast checker → · Palette generator →

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