#8A2031#8A2031

#8A2031 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.3% C 0.140 H 17.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8A2031
RGBrgb(138, 32, 49)
HSLhsl(350, 62%, 33%)
HSVhsv(350, 77%, 54%)
CMYKcmyk(0%, 76.8%, 64.5%, 45.9%)
CIE-LABlab(31.02, 45.01, 16.98)
CIE-LCHlch(31.02, 48.11, 20.67°)
OKLaboklab(42.29% 0.1343 0.041)
OKLCHoklch(42.29% 0.14 17)
XYZxyz(11.5533, 6.6598, 3.5822)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2031 #208A79
analogous
#8A2066 #8A2031 #8A4420
triadic
#8A2031 #318A20 #20318A
tetradic
#8A2031 #668A20 #208A79 #44208A
square
#8A2031 #668A20 #208A79 #44208A
split-complementary
#8A2031 #208A44 #20668A
monochromatic
#27090E #58141F #8A2031 #BC2C43 #D64E64

Accessibility & contrast

On white

9.01
#8A2031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A2031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2031
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2031#FFFFFF#000000##FFFFFF
##8A20311.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a2031;
/* rgb */ color: rgb(138, 32, 49);
/* oklch */ color: oklch(42.3% 0.140 17.0);
Tailwind
colors: {
  custom: {
    50: '#b36568',
    500: '#8a2031',
    950: '#000000',
  },
}
SCSS
$custom: #8a2031;
$custom-light: #b36568;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2031",
  "rgb": {
    "r": 138,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 350.377,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42293,
    "c": 0.14045,
    "h": 17
  },
  "luminance": 0.06658
}

Semantic roles & 50–950 ramp

primary
#8A2031
secondary
#4DB9A8
accent
#E5CB42
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A2031

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

Preview Lab → · Contrast checker → · Palette generator →

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