#8A2131#8A2131

#8A2131 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.139 H 17.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#8A2131
RGBrgb(138, 33, 49)
HSLhsl(351, 61%, 34%)
HSVhsv(351, 76%, 54%)
CMYKcmyk(0%, 76.1%, 64.5%, 45.9%)
CIE-LABlab(31.15, 44.65, 17.15)
CIE-LCHlch(31.15, 47.83, 21.01°)
OKLaboklab(42.39% 0.1332 0.0414)
OKLCHoklch(42.39% 0.139 17.3)
XYZxyz(11.5807, 6.7144, 3.5914)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2131 #218A7A
analogous
#8A2165 #8A2131 #8A4521
triadic
#8A2131 #318A21 #21318A
tetradic
#8A2131 #658A21 #218A7A #45218A
square
#8A2131 #658A21 #218A7A #45218A
split-complementary
#8A2131 #218A45 #21658A
monochromatic
#27090E #59151F #8A2131 #BB2D43 #D55064

Accessibility & contrast

On white

8.96
#8A2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8A2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2131
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2131#FFFFFF#000000##FFFFFF
##8A21311.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B31
Deuteranopia (green-blind)
#59512E
Tritanopia (blue-blind)
#980028
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a2131;
/* rgb */ color: rgb(138, 33, 49);
/* oklch */ color: oklch(42.4% 0.139 17.3);
Tailwind
colors: {
  custom: {
    50: '#b36668',
    500: '#8a2131',
    950: '#000000',
  },
}
SCSS
$custom: #8a2131;
$custom-light: #b36668;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2131",
  "rgb": {
    "r": 138,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 350.857,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42388,
    "c": 0.13946,
    "h": 17.3
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#8A2131
secondary
#4EB9A8
accent
#E5CC43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2131

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

Preview Lab → · Contrast checker → · Palette generator →

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