#8A2123#8A2123

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

Color values

HEX#8A2123
RGBrgb(138, 33, 35)
HSLhsl(359, 61%, 34%)
HSVhsv(359, 76%, 54%)
CMYKcmyk(0%, 76.1%, 74.6%, 45.9%)
CIE-LABlab(30.91, 43.87, 25.84)
CIE-LCHlch(30.91, 50.91, 30.50°)
OKLaboklab(42.14% 0.1276 0.0587)
OKLCHoklch(42.14% 0.14 24.7)
XYZxyz(11.3298, 6.6141, 2.2699)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2123 #218A88
analogous
#8A2157 #8A2123 #8A5321
triadic
#8A2123 #238A21 #21238A
tetradic
#8A2123 #578A21 #218A88 #53218A
square
#8A2123 #578A21 #218A88 #53218A
split-complementary
#8A2123 #218A53 #21578A
monochromatic
#27090A #591516 #8A2123 #BB2D30 #D55053

Accessibility & contrast

On white

9.04
#8A2123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A2123
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2123#FFFFFF#000000##FFFFFF
##8A21231.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A22
Deuteranopia (green-blind)
#5A511F
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2123;
/* rgb */ color: rgb(138, 33, 35);
/* oklch */ color: oklch(42.1% 0.140 24.7);
Tailwind
colors: {
  custom: {
    50: '#b4655e',
    500: '#8a2123',
    950: '#000000',
  },
}
SCSS
$custom: #8a2123;
$custom-light: #b4655e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2123",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 35
  },
  "hsl": {
    "h": 358.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42136,
    "c": 0.1404,
    "h": 24.7
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#8A2123
secondary
#4EB9B7
accent
#E5E143
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79

Preview Lab

Preview with #8A2123

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

Preview Lab → · Contrast checker → · Palette generator →

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