#8A2117#8A2117

#8A2117 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.0% C 0.142 H 29.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A2117
RGBrgb(138, 33, 23)
HSLhsl(5, 71%, 32%)
HSVhsv(5, 83%, 54%)
CMYKcmyk(0%, 76.1%, 83.3%, 45.9%)
CIE-LABlab(30.77, 43.39, 32.83)
CIE-LCHlch(30.77, 54.42, 37.11°)
OKLaboklab(41.99% 0.1234 0.0704)
OKLCHoklch(41.99% 0.142 29.7)
XYZxyz(11.1811, 6.5546, 1.4869)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2117 #17808A
analogous
#8A1747 #8A2117 #8A5B17
triadic
#8A2117 #178A21 #21178A
tetradic
#8A2117 #478A17 #17808A #5B178A
square
#8A2117 #478A17 #17808A #5B178A
split-complementary
#8A2117 #178A5B #17478A
monochromatic
#210806 #56140E #8A2117 #BE2E20 #DF4B3D

Accessibility & contrast

On white

9.09
#8A2117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A2117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2117
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2117#FFFFFF#000000##FFFFFF
##8A21171.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#5B5112
Tritanopia (blue-blind)
#990020
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a2117;
/* rgb */ color: rgb(138, 33, 23);
/* oklch */ color: oklch(42.0% 0.142 29.7);
Tailwind
colors: {
  custom: {
    50: '#b56555',
    500: '#8a2117',
    950: '#000000',
  },
}
SCSS
$custom: #8a2117;
$custom-light: #b56555;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2117",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 5.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41986,
    "c": 0.1421,
    "h": 29.7
  },
  "luminance": 0.06553
}

Semantic roles & 50–950 ramp

primary
#8A2117
secondary
#3FB3BE
accent
#DEEE3A
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #8A2117

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

Preview Lab → · Contrast checker → · Palette generator →

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