#8A1E39#8A1E39

#8A1E39 is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 11.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#8A1E39
RGBrgb(138, 30, 57)
HSLhsl(345, 64%, 33%)
HSVhsv(345, 78%, 54%)
CMYKcmyk(0%, 78.3%, 58.7%, 45.9%)
CIE-LABlab(30.95, 46.26, 11.62)
CIE-LCHlch(30.95, 47.70, 14.10°)
OKLaboklab(42.3% 0.1399 0.029)
OKLCHoklch(42.3% 0.143 11.7)
XYZxyz(11.6852, 6.6289, 4.5343)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E39 #1E8A6F
analogous
#8A1E6F #8A1E39 #8A391E
triadic
#8A1E39 #398A1E #1E398A
tetradic
#8A1E39 #6F8A1E #1E8A6F #391E8A
square
#8A1E39 #6F8A1E #1E8A6F #391E8A
split-complementary
#8A1E39 #1E8A39 #1E6F8A
monochromatic
#25080F #581324 #8A1E39 #BC294E #D84B6E

Accessibility & contrast

On white

9.03
#8A1E39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8A1E39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E39
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E39#FFFFFF#000000##FFFFFF
##8A1E391.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B39
Deuteranopia (green-blind)
#575136
Tritanopia (blue-blind)
#970029
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8a1e39;
/* rgb */ color: rgb(138, 30, 57);
/* oklch */ color: oklch(42.3% 0.143 11.7);
Tailwind
colors: {
  custom: {
    50: '#b2656f',
    500: '#8a1e39',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e39;
$custom-light: #b2656f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e39",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 57
  },
  "hsl": {
    "h": 345,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.14285,
    "h": 11.7
  },
  "luminance": 0.06627
}

Semantic roles & 50–950 ramp

primary
#8A1E39
secondary
#4ABA9E
accent
#E7BE41
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120607
muted
#817A7A

Preview Lab

Preview with #8A1E39

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

Preview Lab → · Contrast checker → · Palette generator →

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