#8A1931#8A1931

#8A1931 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.147 H 15.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#8A1931
RGBrgb(138, 25, 49)
HSLhsl(347, 69%, 32%)
HSVhsv(347, 82%, 54%)
CMYKcmyk(0%, 81.9%, 64.5%, 45.9%)
CIE-LABlab(30.21, 47.28, 15.93)
CIE-LCHlch(30.21, 49.89, 18.61°)
OKLaboklab(41.69% 0.1416 0.0386)
OKLCHoklch(41.69% 0.147 15.2)
XYZxyz(11.3845, 6.3220, 3.5260)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1931 #198A72
analogous
#8A1969 #8A1931 #8A3A19
triadic
#8A1931 #318A19 #19318A
tetradic
#8A1931 #698A19 #198A72 #3A198A
square
#8A1931 #698A19 #198A72 #3A198A
split-complementary
#8A1931 #198A3A #19698A
monochromatic
#22060C #56101F #8A1931 #BE2243 #DD4162

Accessibility & contrast

On white

9.28
#8A1931 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#8A1931 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1931
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1931#FFFFFF#000000##FFFFFF
##8A19311.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#574F2E
Tritanopia (blue-blind)
#980024
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1931;
/* rgb */ color: rgb(138, 25, 49);
/* oklch */ color: oklch(41.7% 0.147 15.2);
Tailwind
colors: {
  custom: {
    50: '#b36268',
    500: '#8a1931',
    950: '#000000',
  },
}
SCSS
$custom: #8a1931;
$custom-light: #b36268;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1931",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 49
  },
  "hsl": {
    "h": 347.257,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.1468,
    "h": 15.2
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#8A1931
secondary
#42BDA3
accent
#ECC73C
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1931

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

Preview Lab → · Contrast checker → · Palette generator →

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