#8A3131#8A3131

#8A3131 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.2% C 0.122 H 23.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8A3131
RGBrgb(138, 49, 49)
HSLhsl(0, 48%, 37%)
HSVhsv(0, 64%, 54%)
CMYKcmyk(0%, 64.5%, 64.5%, 45.9%)
CIE-LABlab(33.61, 37.93, 20.32)
CIE-LCHlch(33.61, 43.02, 28.18°)
OKLaboklab(44.23% 0.1118 0.0486)
OKLCHoklch(44.23% 0.122 23.5)
XYZxyz(12.1351, 7.8233, 3.7762)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A3131 #318A8A
analogous
#8A315E #8A3131 #8A5E31
triadic
#8A3131 #318A31 #31318A
tetradic
#8A3131 #5E8A31 #318A8A #5E318A
square
#8A3131 #5E8A31 #318A8A #5E318A
split-complementary
#8A3131 #318A5E #315E8A
monochromatic
#301111 #5D2121 #8A3131 #B74141 #CA6B6B

Accessibility & contrast

On white

8.19
#8A3131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8A3131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A3131
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A3131#FFFFFF#000000##FFFFFF
##8A31311.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484330
Deuteranopia (green-blind)
#5E562F
Tritanopia (blue-blind)
#971E32
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8a3131;
/* rgb */ color: rgb(138, 49, 49);
/* oklch */ color: oklch(44.2% 0.122 23.5);
Tailwind
colors: {
  custom: {
    50: '#b26e69',
    500: '#8a3131',
    950: '#000000',
  },
}
SCSS
$custom: #8a3131;
$custom-light: #b26e69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a3131",
  "rgb": {
    "r": 138,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.1219,
    "h": 23.5
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#8A3131
secondary
#65B2B2
accent
#D7D751
background
#FBF6F6
surface
#F6ECEB
border
#D0C7C6
text
#120706
muted
#817A7A

Preview Lab

Preview with #8A3131

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

Preview Lab → · Contrast checker → · Palette generator →

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