#8A1E33#8A1E33

#8A1E33 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 15.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#8A1E33
RGBrgb(138, 30, 51)
HSLhsl(348, 64%, 33%)
HSVhsv(348, 78%, 54%)
CMYKcmyk(0%, 78.3%, 63%, 45.9%)
CIE-LABlab(30.81, 45.83, 15.40)
CIE-LCHlch(30.81, 48.35, 18.57°)
OKLaboklab(42.15% 0.1374 0.0375)
OKLCHoklch(42.15% 0.142 15.3)
XYZxyz(11.5442, 6.5725, 3.7921)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E33 #1E8A75
analogous
#8A1E69 #8A1E33 #8A3F1E
triadic
#8A1E33 #338A1E #1E338A
tetradic
#8A1E33 #698A1E #1E8A75 #3F1E8A
square
#8A1E33 #698A1E #1E8A75 #3F1E8A
split-complementary
#8A1E33 #1E8A3F #1E698A
monochromatic
#25080E #581320 #8A1E33 #BC2946 #D84B66

Accessibility & contrast

On white

9.07
#8A1E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#8A1E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E33
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E33#FFFFFF#000000##FFFFFF
##8A1E331.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3A33
Deuteranopia (green-blind)
#585130
Tritanopia (blue-blind)
#980027
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e33;
/* rgb */ color: rgb(138, 30, 51);
/* oklch */ color: oklch(42.2% 0.142 15.3);
Tailwind
colors: {
  custom: {
    50: '#b3646a',
    500: '#8a1e33',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e33;
$custom-light: #b3646a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e33",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 51
  },
  "hsl": {
    "h": 348.333,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42153,
    "c": 0.14241,
    "h": 15.3
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#8A1E33
secondary
#4ABAA4
accent
#E7C741
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8A1E33

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

Preview Lab → · Contrast checker → · Palette generator →

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