#8A2224#8A2224

#8A2224 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.139 H 24.5°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8A2224
RGBrgb(138, 34, 36)
HSLhsl(359, 60%, 34%)
HSVhsv(359, 75%, 54%)
CMYKcmyk(0%, 75.4%, 73.9%, 45.9%)
CIE-LABlab(31.06, 43.55, 25.38)
CIE-LCHlch(31.06, 50.40, 30.24°)
OKLaboklab(42.25% 0.1268 0.0579)
OKLCHoklch(42.25% 0.139 24.5)
XYZxyz(11.3730, 6.6764, 2.3586)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2224 #228A88
analogous
#8A2258 #8A2224 #8A5422
triadic
#8A2224 #248A22 #22248A
tetradic
#8A2224 #588A22 #228A88 #54228A
square
#8A2224 #588A22 #228A88 #54228A
split-complementary
#8A2224 #228A54 #22588A
monochromatic
#280A0A #591617 #8A2224 #BB2E31 #D45255

Accessibility & contrast

On white

8.99
#8A2224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A2224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2224
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2224#FFFFFF#000000##FFFFFF
##8A22241.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B23
Deuteranopia (green-blind)
#5A5120
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2224;
/* rgb */ color: rgb(138, 34, 36);
/* oklch */ color: oklch(42.3% 0.139 24.5);
Tailwind
colors: {
  custom: {
    50: '#b4665f',
    500: '#8a2224',
    950: '#000000',
  },
}
SCSS
$custom: #8a2224;
$custom-light: #b4665f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2224",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 36
  },
  "hsl": {
    "h": 358.846,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4225,
    "c": 0.13937,
    "h": 24.5
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#8A2224
secondary
#50B8B6
accent
#E4E144
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2224

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

Preview Lab → · Contrast checker → · Palette generator →

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