#8A1A33#8A1A33

#8A1A33 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.146 H 14.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#8A1A33
RGBrgb(138, 26, 51)
HSLhsl(347, 68%, 32%)
HSVhsv(347, 81%, 54%)
CMYKcmyk(0%, 81.2%, 63%, 45.9%)
CIE-LABlab(30.36, 47.12, 14.80)
CIE-LCHlch(30.36, 49.38, 17.43°)
OKLaboklab(41.82% 0.1415 0.0361)
OKLCHoklch(41.82% 0.146 14.3)
XYZxyz(11.4494, 6.3828, 3.7605)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A33 #1A8A71
analogous
#8A1A6B #8A1A33 #8A391A
triadic
#8A1A33 #338A1A #1A338A
tetradic
#8A1A33 #6B8A1A #1A8A71 #391A8A
square
#8A1A33 #6B8A1A #1A8A71 #391A8A
split-complementary
#8A1A33 #1A8A39 #1A6B8A
monochromatic
#23070D #571020 #8A1A33 #BD2446 #DC4365

Accessibility & contrast

On white

9.23
#8A1A33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#8A1A33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1A33
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A33#FFFFFF#000000##FFFFFF
##8A1A331.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1a33;
/* rgb */ color: rgb(138, 26, 51);
/* oklch */ color: oklch(41.8% 0.146 14.3);
Tailwind
colors: {
  custom: {
    50: '#b3636a',
    500: '#8a1a33',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a33;
$custom-light: #b3636a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a33",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 51
  },
  "hsl": {
    "h": 346.607,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.14604,
    "h": 14.3
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#8A1A33
secondary
#43BDA2
accent
#EBC43D
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1A33

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

Preview Lab → · Contrast checker → · Palette generator →

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