#8A1A34#8A1A34

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

Color values

HEX#8A1A34
RGBrgb(138, 26, 52)
HSLhsl(346, 68%, 32%)
HSVhsv(346, 81%, 54%)
CMYKcmyk(0%, 81.2%, 62.3%, 45.9%)
CIE-LABlab(30.38, 47.18, 14.16)
CIE-LCHlch(30.38, 49.26, 16.71°)
OKLaboklab(41.84% 0.1419 0.0347)
OKLCHoklch(41.84% 0.146 13.8)
XYZxyz(11.4717, 6.3917, 3.8778)
Luminance0.0639 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1A34 #1A8A70
analogous
#8A1A6C #8A1A34 #8A381A
triadic
#8A1A34 #348A1A #1A348A
tetradic
#8A1A34 #6C8A1A #1A8A70 #381A8A
square
#8A1A34 #6C8A1A #1A8A70 #381A8A
split-complementary
#8A1A34 #1A8A38 #1A6C8A
monochromatic
#23070D #571021 #8A1A34 #BD2447 #DC4366

Accessibility & contrast

On white

9.22
#8A1A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1A34
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1A34#FFFFFF#000000##FFFFFF
##8A1A341.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a1a34;
/* rgb */ color: rgb(138, 26, 52);
/* oklch */ color: oklch(41.8% 0.146 13.8);
Tailwind
colors: {
  custom: {
    50: '#b3636b',
    500: '#8a1a34',
    950: '#000000',
  },
}
SCSS
$custom: #8a1a34;
$custom-light: #b3636b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1a34",
  "rgb": {
    "r": 138,
    "g": 26,
    "b": 52
  },
  "hsl": {
    "h": 346.071,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.14611,
    "h": 13.8
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#8A1A34
secondary
#43BDA0
accent
#EBC33D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1A34

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

Preview Lab → · Contrast checker → · Palette generator →

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