#8A2121#8A2121

#8A2121 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.141 H 25.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8A2121
RGBrgb(138, 33, 33)
HSLhsl(0, 61%, 34%)
HSVhsv(0, 76%, 54%)
CMYKcmyk(0%, 76.1%, 76.1%, 45.9%)
CIE-LABlab(30.88, 43.78, 27.05)
CIE-LCHlch(30.88, 51.46, 31.71°)
OKLaboklab(42.11% 0.1268 0.0609)
OKLCHoklch(42.11% 0.141 25.6)
XYZxyz(11.3009, 6.6025, 2.1179)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2121 #218A8A
analogous
#8A2155 #8A2121 #8A5521
triadic
#8A2121 #218A21 #21218A
tetradic
#8A2121 #558A21 #218A8A #55218A
square
#8A2121 #558A21 #218A8A #55218A
split-complementary
#8A2121 #218A55 #21558A
monochromatic
#270909 #591515 #8A2121 #BB2D2D #D55050

Accessibility & contrast

On white

9.05
#8A2121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A2121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2121
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2121#FFFFFF#000000##FFFFFF
##8A21211.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2121;
/* rgb */ color: rgb(138, 33, 33);
/* oklch */ color: oklch(42.1% 0.141 25.6);
Tailwind
colors: {
  custom: {
    50: '#b4655c',
    500: '#8a2121',
    950: '#000000',
  },
}
SCSS
$custom: #8a2121;
$custom-light: #b4655c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2121",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 33
  },
  "hsl": {
    "h": 0,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.14066,
    "h": 25.6
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#8A2121
secondary
#4EB9B9
accent
#E5E543
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2121

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

Preview Lab → · Contrast checker → · Palette generator →

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