#8A1E27#8A1E27

#8A1E27 is a dark, vivid red. Relative luminance 0.065; OKLCH L 41.9% C 0.143 H 21.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#8A1E27
RGBrgb(138, 30, 39)
HSLhsl(355, 64%, 33%)
HSVhsv(355, 78%, 54%)
CMYKcmyk(0%, 78.3%, 71.7%, 45.9%)
CIE-LABlab(30.59, 45.12, 22.93)
CIE-LCHlch(30.59, 50.61, 26.94°)
OKLaboklab(41.92% 0.1325 0.0531)
OKLCHoklch(41.92% 0.143 21.8)
XYZxyz(11.3130, 6.4800, 2.5742)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E27 #1E8A81
analogous
#8A1E5D #8A1E27 #8A4B1E
triadic
#8A1E27 #278A1E #1E278A
tetradic
#8A1E27 #5D8A1E #1E8A81 #4B1E8A
square
#8A1E27 #5D8A1E #1E8A81 #4B1E8A
split-complementary
#8A1E27 #1E8A4B #1E5D8A
monochromatic
#25080B #581319 #8A1E27 #BC2935 #D84B56

Accessibility & contrast

On white

9.15
#8A1E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#8A1E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1E27
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E27#FFFFFF#000000##FFFFFF
##8A1E271.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3926
Deuteranopia (green-blind)
#595023
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e27;
/* rgb */ color: rgb(138, 30, 39);
/* oklch */ color: oklch(41.9% 0.143 21.8);
Tailwind
colors: {
  custom: {
    50: '#b46461',
    500: '#8a1e27',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e27;
$custom-light: #b46461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e27",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 39
  },
  "hsl": {
    "h": 355,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41918,
    "c": 0.1427,
    "h": 21.8
  },
  "luminance": 0.06478
}

Semantic roles & 50–950 ramp

primary
#8A1E27
secondary
#4ABAB1
accent
#E7D941
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1E27

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

Preview Lab → · Contrast checker → · Palette generator →

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