#8A2222#8A2222

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

Color values

HEX#8A2222
RGBrgb(138, 34, 34)
HSLhsl(0, 60%, 34%)
HSVhsv(0, 75%, 54%)
CMYKcmyk(0%, 75.4%, 75.4%, 45.9%)
CIE-LABlab(31.03, 43.45, 26.60)
CIE-LCHlch(31.03, 50.95, 31.47°)
OKLaboklab(42.22% 0.126 0.0601)
OKLCHoklch(42.22% 0.14 25.5)
XYZxyz(11.3433, 6.6646, 2.2022)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2222 #228A8A
analogous
#8A2256 #8A2222 #8A5622
triadic
#8A2222 #228A22 #22228A
tetradic
#8A2222 #568A22 #228A8A #56228A
square
#8A2222 #568A22 #228A8A #56228A
split-complementary
#8A2222 #228A56 #22568A
monochromatic
#280A0A #591616 #8A2222 #BB2E2E #D45252

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A2222#FFFFFF#000000##FFFFFF
##8A22221.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)
#413B21
Deuteranopia (green-blind)
#5B511E
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2222;
/* rgb */ color: rgb(138, 34, 34);
/* oklch */ color: oklch(42.2% 0.140 25.5);
Tailwind
colors: {
  custom: {
    50: '#b4665d',
    500: '#8a2222',
    950: '#000000',
  },
}
SCSS
$custom: #8a2222;
$custom-light: #b4665d;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2222",
  "rgb": {
    "r": 138,
    "g": 34,
    "b": 34
  },
  "hsl": {
    "h": 0,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.13961,
    "h": 25.5
  },
  "luminance": 0.06663
}

Semantic roles & 50–950 ramp

primary
#8A2222
secondary
#50B8B8
accent
#E4E444
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2222

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

Preview Lab → · Contrast checker → · Palette generator →

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