#8A1B27#8A1B27

#8A1B27 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.7% C 0.145 H 21.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#8A1B27
RGBrgb(138, 27, 39)
HSLhsl(354, 67%, 32%)
HSVhsv(354, 80%, 54%)
CMYKcmyk(0%, 80.4%, 71.7%, 45.9%)
CIE-LABlab(30.24, 46.10, 22.51)
CIE-LCHlch(30.24, 51.30, 26.02°)
OKLaboklab(41.66% 0.1356 0.0521)
OKLCHoklch(41.66% 0.145 21)
XYZxyz(11.2407, 6.3354, 2.5500)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B27 #1B8A7E
analogous
#8A1B5E #8A1B27 #8A471B
triadic
#8A1B27 #278A1B #1B278A
tetradic
#8A1B27 #5E8A1B #1B8A7E #471B8A
square
#8A1B27 #5E8A1B #1B8A7E #471B8A
split-complementary
#8A1B27 #1B8A47 #1B5E8A
monochromatic
#24070A #571119 #8A1B27 #BD2535 #DB4555

Accessibility & contrast

On white

9.26
#8A1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#8A1B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1B27
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B27#FFFFFF#000000##FFFFFF
##8A1B271.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3826
Deuteranopia (green-blind)
#585023
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1b27;
/* rgb */ color: rgb(138, 27, 39);
/* oklch */ color: oklch(41.7% 0.145 21.0);
Tailwind
colors: {
  custom: {
    50: '#b46361',
    500: '#8a1b27',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b27;
$custom-light: #b46361;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b27",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 353.514,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41659,
    "c": 0.14527,
    "h": 21
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#8A1B27
secondary
#45BCAF
accent
#EAD83E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1B27

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

Preview Lab → · Contrast checker → · Palette generator →

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