#8A2223#8A2223

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

Color values

HEX#8A2223
RGBrgb(138, 34, 35)
HSLhsl(359, 60%, 34%)
HSVhsv(359, 75%, 54%)
CMYKcmyk(0%, 75.4%, 74.6%, 45.9%)
CIE-LABlab(31.04, 43.50, 25.99)
CIE-LCHlch(31.04, 50.67, 30.86°)
OKLaboklab(42.24% 0.1264 0.059)
OKLCHoklch(42.24% 0.139 25)
XYZxyz(11.3579, 6.6704, 2.2792)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2223 #228A89
analogous
#8A2257 #8A2223 #8A5522
triadic
#8A2223 #238A22 #22238A
tetradic
#8A2223 #578A22 #228A89 #55228A
square
#8A2223 #578A22 #228A89 #55228A
split-complementary
#8A2223 #228A55 #22578A
monochromatic
#280A0A #591617 #8A2223 #BB2E2F #D45253

Accessibility & contrast

On white

9.00
#8A2223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2223
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2223#FFFFFF#000000##FFFFFF
##8A22231.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B22
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2223;
/* rgb */ color: rgb(138, 34, 35);
/* oklch */ color: oklch(42.2% 0.139 25.0);
Tailwind
colors: {
  custom: {
    50: '#b4665e',
    500: '#8a2223',
    950: '#000000',
  },
}
SCSS
$custom: #8a2223;
$custom-light: #b4665e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2223",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.423,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42235,
    "c": 0.13949,
    "h": 25
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#8A2223
secondary
#50B8B7
accent
#E4E244
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2223

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

Preview Lab → · Contrast checker → · Palette generator →

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