#8A1531#8A1531

#8A1531 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.150 H 14.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#8A1531
RGBrgb(138, 21, 49)
HSLhsl(346, 74%, 31%)
HSVhsv(346, 85%, 54%)
CMYKcmyk(0%, 84.8%, 64.5%, 45.9%)
CIE-LABlab(29.82, 48.39, 15.41)
CIE-LCHlch(29.82, 50.79, 17.67°)
OKLaboklab(41.41% 0.1452 0.0374)
OKLCHoklch(41.41% 0.15 14.4)
XYZxyz(11.3050, 6.1631, 3.4995)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1531 #158A6E
analogous
#8A156B #8A1531 #8A3315
triadic
#8A1531 #318A15 #15318A
tetradic
#8A1531 #6B8A15 #158A6E #33158A
square
#8A1531 #6B8A15 #158A6E #33158A
split-complementary
#8A1531 #158A33 #156B8A
monochromatic
#20050B #550D1E #8A1531 #BF1D44 #E13961

Accessibility & contrast

On white

9.41
#8A1531 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1531
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1531#FFFFFF#000000##FFFFFF
##8A15311.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1531;
/* rgb */ color: rgb(138, 21, 49);
/* oklch */ color: oklch(41.4% 0.150 14.4);
Tailwind
colors: {
  custom: {
    50: '#b36168',
    500: '#8a1531',
    950: '#000000',
  },
}
SCSS
$custom: #8a1531;
$custom-light: #b36168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1531",
  "rgb": {
    "r": 138,
    "g": 21,
    "b": 49
  },
  "hsl": {
    "h": 345.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41406,
    "c": 0.14995,
    "h": 14.4
  },
  "luminance": 0.06161
}

Semantic roles & 50–950 ramp

primary
#8A1531
secondary
#3DBE9F
accent
#F0C438
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1531

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

Preview Lab → · Contrast checker → · Palette generator →

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