#8A1E31#8A1E31

#8A1E31 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.1% C 0.142 H 16.4°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#8A1E31
RGBrgb(138, 30, 49)
HSLhsl(349, 64%, 33%)
HSVhsv(349, 78%, 54%)
CMYKcmyk(0%, 78.3%, 64.5%, 45.9%)
CIE-LABlab(30.77, 45.70, 16.66)
CIE-LCHlch(30.77, 48.64, 20.03°)
OKLaboklab(42.11% 0.1366 0.0403)
OKLCHoklch(42.11% 0.142 16.4)
XYZxyz(11.5011, 6.5553, 3.5648)
Luminance0.0655 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E31 #1E8A77
analogous
#8A1E67 #8A1E31 #8A411E
triadic
#8A1E31 #318A1E #1E318A
tetradic
#8A1E31 #678A1E #1E8A77 #411E8A
square
#8A1E31 #678A1E #1E8A77 #411E8A
split-complementary
#8A1E31 #1E8A41 #1E678A
monochromatic
#25080D #58131F #8A1E31 #BC2943 #D84B63

Accessibility & contrast

On white

9.09
#8A1E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1E31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E31
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E31#FFFFFF#000000##FFFFFF
##8A1E311.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A31
Deuteranopia (green-blind)
#58512E
Tritanopia (blue-blind)
#980026
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e31;
/* rgb */ color: rgb(138, 30, 49);
/* oklch */ color: oklch(42.1% 0.142 16.4);
Tailwind
colors: {
  custom: {
    50: '#b36468',
    500: '#8a1e31',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e31;
$custom-light: #b36468;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e31",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 49
  },
  "hsl": {
    "h": 349.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.14236,
    "h": 16.4
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#8A1E31
secondary
#4ABAA6
accent
#E7CA41
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1E31

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

Preview Lab → · Contrast checker → · Palette generator →

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