#8A1431#8A1431

#8A1431 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.151 H 14.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#8A1431
RGBrgb(138, 20, 49)
HSLhsl(345, 75%, 31%)
HSVhsv(345, 86%, 54%)
CMYKcmyk(0%, 85.5%, 64.5%, 45.9%)
CIE-LABlab(29.73, 48.65, 15.29)
CIE-LCHlch(29.73, 50.99, 17.45°)
OKLaboklab(41.34% 0.146 0.0371)
OKLCHoklch(41.34% 0.151 14.3)
XYZxyz(11.2870, 6.1271, 3.4935)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1431 #148A6D
analogous
#8A146C #8A1431 #8A3214
triadic
#8A1431 #318A14 #14318A
tetradic
#8A1431 #6C8A14 #148A6D #32148A
square
#8A1431 #6C8A14 #148A6D #32148A
split-complementary
#8A1431 #148A32 #146C8A
monochromatic
#1F050B #550C1E #8A1431 #BF1C44 #E23661

Accessibility & contrast

On white

9.44
#8A1431 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#8A1431 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1431
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1431#FFFFFF#000000##FFFFFF
##8A14311.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383731
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1431;
/* rgb */ color: rgb(138, 20, 49);
/* oklch */ color: oklch(41.3% 0.151 14.3);
Tailwind
colors: {
  custom: {
    50: '#b36168',
    500: '#8a1431',
    950: '#000000',
  },
}
SCSS
$custom: #8a1431;
$custom-light: #b36168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1431",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 49
  },
  "hsl": {
    "h": 345.254,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.15068,
    "h": 14.3
  },
  "luminance": 0.06125
}

Semantic roles & 50–950 ramp

primary
#8A1431
secondary
#3CBE9E
accent
#F1C336
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1431

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

Preview Lab → · Contrast checker → · Palette generator →

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