#8A213A#8A213A

#8A213A is a dark, vivid red. Relative luminance 0.068; OKLCH L 42.6% C 0.140 H 11.9°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#8A213A
RGBrgb(138, 33, 58)
HSLhsl(346, 61%, 34%)
HSVhsv(346, 76%, 54%)
CMYKcmyk(0%, 76.1%, 58%, 45.9%)
CIE-LABlab(31.34, 45.30, 11.50)
CIE-LCHlch(31.34, 46.73, 14.25°)
OKLaboklab(42.6% 0.1369 0.0288)
OKLCHoklch(42.6% 0.14 11.9)
XYZxyz(11.7899, 6.7981, 4.6935)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213A #218A71
analogous
#8A216E #8A213A #8A3C21
triadic
#8A213A #3A8A21 #213A8A
tetradic
#8A213A #6E8A21 #218A71 #3C218A
square
#8A213A #6E8A21 #218A71 #3C218A
split-complementary
#8A213A #218A3C #216E8A
monochromatic
#270910 #591525 #8A213A #BB2D4F #D55070

Accessibility & contrast

On white

8.90
#8A213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#8A213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A213A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213A#FFFFFF#000000##FFFFFF
##8A213A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C3A
Deuteranopia (green-blind)
#585237
Tritanopia (blue-blind)
#97022B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a213a;
/* rgb */ color: rgb(138, 33, 58);
/* oklch */ color: oklch(42.6% 0.140 11.9);
Tailwind
colors: {
  custom: {
    50: '#b2666f',
    500: '#8a213a',
    950: '#000000',
  },
}
SCSS
$custom: #8a213a;
$custom-light: #b2666f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213a",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 345.714,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42596,
    "c": 0.13991,
    "h": 11.9
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#8A213A
secondary
#4EB99F
accent
#E5BE43
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A213A

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

Preview Lab → · Contrast checker → · Palette generator →

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