#8A1B28#8A1B28

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

Color values

HEX#8A1B28
RGBrgb(138, 27, 40)
HSLhsl(353, 67%, 32%)
HSVhsv(353, 80%, 54%)
CMYKcmyk(0%, 80.4%, 71%, 45.9%)
CIE-LABlab(30.26, 46.15, 21.88)
CIE-LCHlch(30.26, 51.08, 25.37°)
OKLaboklab(41.68% 0.136 0.0509)
OKLCHoklch(41.68% 0.145 20.5)
XYZxyz(11.2574, 6.3421, 2.6385)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B28 #1B8A7D
analogous
#8A1B60 #8A1B28 #8A461B
triadic
#8A1B28 #288A1B #1B288A
tetradic
#8A1B28 #608A1B #1B8A7D #461B8A
square
#8A1B28 #608A1B #1B8A7D #461B8A
split-complementary
#8A1B28 #1B8A46 #1B608A
monochromatic
#24070A #571119 #8A1B28 #BD2537 #DB4556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A1B28#FFFFFF#000000##FFFFFF
##8A1B281.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)
#3C3828
Deuteranopia (green-blind)
#585024
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #8a1b28;
/* rgb */ color: rgb(138, 27, 40);
/* oklch */ color: oklch(41.7% 0.145 20.5);
Tailwind
colors: {
  custom: {
    50: '#b46361',
    500: '#8a1b28',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b28;
$custom-light: #b46361;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b28",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 40
  },
  "hsl": {
    "h": 352.973,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41676,
    "c": 0.14521,
    "h": 20.5
  },
  "luminance": 0.0634
}

Semantic roles & 50–950 ramp

primary
#8A1B28
secondary
#45BCAE
accent
#EAD63E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1B28

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

Preview Lab → · Contrast checker → · Palette generator →

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