#8A1B33#8A1B33

#8A1B33 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.9% C 0.145 H 14.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1B33
RGBrgb(138, 27, 51)
HSLhsl(347, 67%, 32%)
HSVhsv(347, 80%, 54%)
CMYKcmyk(0%, 80.4%, 63%, 45.9%)
CIE-LABlab(30.47, 46.81, 14.94)
CIE-LCHlch(30.47, 49.13, 17.70°)
OKLaboklab(41.9% 0.1405 0.0365)
OKLCHoklch(41.9% 0.145 14.5)
XYZxyz(11.4719, 6.4279, 3.7680)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1B33 #1B8A72
analogous
#8A1B6B #8A1B33 #8A3A1B
triadic
#8A1B33 #338A1B #1B338A
tetradic
#8A1B33 #6B8A1B #1B8A72 #3A1B8A
square
#8A1B33 #6B8A1B #1B8A72 #3A1B8A
split-complementary
#8A1B33 #1B8A3A #1B6B8A
monochromatic
#24070D #571120 #8A1B33 #BD2546 #DB4565

Accessibility & contrast

On white

9.19
#8A1B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1B33
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1B33#FFFFFF#000000##FFFFFF
##8A1B331.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3933
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#980025
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1b33;
/* rgb */ color: rgb(138, 27, 51);
/* oklch */ color: oklch(41.9% 0.145 14.5);
Tailwind
colors: {
  custom: {
    50: '#b3636a',
    500: '#8a1b33',
    950: '#000000',
  },
}
SCSS
$custom: #8a1b33;
$custom-light: #b3636a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1b33",
  "rgb": {
    "r": 138,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 347.027,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41897,
    "c": 0.14516,
    "h": 14.5
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#8A1B33
secondary
#45BCA2
accent
#EAC53E
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1B33

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

Preview Lab → · Contrast checker → · Palette generator →

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