#8A1B36#8A1B36

#8A1B36 is a dark, vivid red. Relative luminance 0.065; OKLCH L 42.0% C 0.145 H 12.8°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#8A1B36
RGBrgb(138, 27, 54)
HSLhsl(345, 67%, 32%)
HSVhsv(345, 80%, 54%)
CMYKcmyk(0%, 80.4%, 60.9%, 45.9%)
CIE-LABlab(30.53, 47.01, 13.04)
CIE-LCHlch(30.53, 48.79, 15.51°)
OKLaboklab(41.97% 0.1418 0.0322)
OKLCHoklch(41.97% 0.145 12.8)
XYZxyz(11.5402, 6.4552, 4.1276)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B36 #1B8A6F
analogous
#8A1B6E #8A1B36 #8A371B
triadic
#8A1B36 #368A1B #1B368A
tetradic
#8A1B36 #6E8A1B #1B8A6F #371B8A
square
#8A1B36 #6E8A1B #1B8A6F #371B8A
split-complementary
#8A1B36 #1B8A37 #1B6E8A
monochromatic
#24070E #571122 #8A1B36 #BD254A #DB4569

Accessibility & contrast

On white

9.17
#8A1B36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1B36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B36
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B36#FFFFFF#000000##FFFFFF
##8A1B361.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3936
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#970027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b36;
/* rgb */ color: rgb(138, 27, 54);
/* oklch */ color: oklch(42.0% 0.145 12.8);
Tailwind
colors: {
  custom: {
    50: '#b3636c',
    500: '#8a1b36',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b36;
$custom-light: #b3636c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b36",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 54
  },
  "hsl": {
    "h": 345.405,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41967,
    "c": 0.14538,
    "h": 12.8
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#8A1B36
secondary
#45BC9F
accent
#EAC03E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1B36

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

Preview Lab → · Contrast checker → · Palette generator →

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