#8A1F32#8A1F32

#8A1F32 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.141 H 16.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8A1F32
RGBrgb(138, 31, 50)
HSLhsl(349, 63%, 33%)
HSVhsv(349, 78%, 54%)
CMYKcmyk(0%, 77.5%, 63.8%, 45.9%)
CIE-LABlab(30.91, 45.43, 16.19)
CIE-LCHlch(30.91, 48.23, 19.62°)
OKLaboklab(42.22% 0.1359 0.0393)
OKLCHoklch(42.22% 0.141 16.1)
XYZxyz(11.5481, 6.6152, 3.6858)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1F32 #1F8A77
analogous
#8A1F67 #8A1F32 #8A411F
triadic
#8A1F32 #328A1F #1F328A
tetradic
#8A1F32 #678A1F #1F8A77 #411F8A
square
#8A1F32 #678A1F #1F8A77 #411F8A
split-complementary
#8A1F32 #1F8A41 #1F678A
monochromatic
#26090E #581420 #8A1F32 #BC2A44 #D74C65

Accessibility & contrast

On white

9.04
#8A1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8A1F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1F32
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1F32#FFFFFF#000000##FFFFFF
##8A1F321.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B32
Deuteranopia (green-blind)
#58512F
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1f32;
/* rgb */ color: rgb(138, 31, 50);
/* oklch */ color: oklch(42.2% 0.141 16.1);
Tailwind
colors: {
  custom: {
    50: '#b36569',
    500: '#8a1f32',
    950: '#000000',
  },
}
SCSS
$custom: #8a1f32;
$custom-light: #b36569;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1f32",
  "rgb": {
    "r": 138,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 349.346,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.14142,
    "h": 16.1
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#8A1F32
secondary
#4BBAA6
accent
#E6C941
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1F32

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

Preview Lab → · Contrast checker → · Palette generator →

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