#8A1631#8A1631

#8A1631 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.5% C 0.149 H 14.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#8A1631
RGBrgb(138, 22, 49)
HSLhsl(346, 73%, 31%)
HSVhsv(346, 84%, 54%)
CMYKcmyk(0%, 84.1%, 64.5%, 45.9%)
CIE-LABlab(29.91, 48.13, 15.53)
CIE-LCHlch(29.91, 50.57, 17.89°)
OKLaboklab(41.47% 0.1444 0.0377)
OKLCHoklch(41.47% 0.149 14.6)
XYZxyz(11.3237, 6.2006, 3.5057)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1631 #168A6F
analogous
#8A166B #8A1631 #8A3516
triadic
#8A1631 #318A16 #16318A
tetradic
#8A1631 #6B8A16 #168A6F #35168A
square
#8A1631 #6B8A16 #168A6F #35168A
split-complementary
#8A1631 #168A35 #166B8A
monochromatic
#20050C #550E1E #8A1631 #BF1E44 #E03B61

Accessibility & contrast

On white

9.38
#8A1631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#8A1631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1631
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1631#FFFFFF#000000##FFFFFF
##8A16311.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.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: #8a1631;
/* rgb */ color: rgb(138, 22, 49);
/* oklch */ color: oklch(41.5% 0.149 14.6);
Tailwind
colors: {
  custom: {
    50: '#b36168',
    500: '#8a1631',
    950: '#000000',
  },
}
SCSS
$custom: #8a1631;
$custom-light: #b36168;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1631",
  "rgb": {
    "r": 138,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 346.034,
    "s": 72.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.14919,
    "h": 14.6
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#8A1631
secondary
#3EBEA0
accent
#EFC539
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1631

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

Preview Lab → · Contrast checker → · Palette generator →

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