#8A213B#8A213B

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

Color values

HEX#8A213B
RGBrgb(138, 33, 59)
HSLhsl(345, 61%, 34%)
HSVhsv(345, 76%, 54%)
CMYKcmyk(0%, 76.1%, 57.2%, 45.9%)
CIE-LABlab(31.37, 45.37, 10.87)
CIE-LCHlch(31.37, 46.66, 13.48°)
OKLaboklab(42.62% 0.1373 0.0273)
OKLCHoklch(42.62% 0.14 11.3)
XYZxyz(11.8156, 6.8084, 4.8288)
Luminance0.0681 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A213B #218A70
analogous
#8A216F #8A213B #8A3B21
triadic
#8A213B #3B8A21 #213B8A
tetradic
#8A213B #6F8A21 #218A70 #3B218A
square
#8A213B #6F8A21 #218A70 #3B218A
split-complementary
#8A213B #218A3B #216F8A
monochromatic
#270911 #591526 #8A213B #BB2D50 #D55071

Accessibility & contrast

On white

8.89
#8A213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A213B
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A213B#FFFFFF#000000##FFFFFF
##8A213B1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3B
Deuteranopia (green-blind)
#585238
Tritanopia (blue-blind)
#97022C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8a213b;
/* rgb */ color: rgb(138, 33, 59);
/* oklch */ color: oklch(42.6% 0.140 11.3);
Tailwind
colors: {
  custom: {
    50: '#b26670',
    500: '#8a213b',
    950: '#000000',
  },
}
SCSS
$custom: #8a213b;
$custom-light: #b26670;
$custom-dark: #000000;
JSON
{
  "hex": "#8a213b",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 345.143,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42621,
    "c": 0.14002,
    "h": 11.3
  },
  "luminance": 0.06807
}

Semantic roles & 50–950 ramp

primary
#8A213B
secondary
#4EB99E
accent
#E5BD43
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A213B

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

Preview Lab → · Contrast checker → · Palette generator →

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