#8A1E28#8A1E28

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

Color values

HEX#8A1E28
RGBrgb(138, 30, 40)
HSLhsl(354, 64%, 33%)
HSVhsv(354, 78%, 54%)
CMYKcmyk(0%, 78.3%, 71%, 45.9%)
CIE-LABlab(30.61, 45.17, 22.31)
CIE-LCHlch(30.61, 50.38, 26.28°)
OKLaboklab(41.94% 0.1329 0.0519)
OKLCHoklch(41.94% 0.143 21.3)
XYZxyz(11.3298, 6.4868, 2.6626)
Luminance0.0649 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1E28 #1E8A80
analogous
#8A1E5E #8A1E28 #8A4A1E
triadic
#8A1E28 #288A1E #1E288A
tetradic
#8A1E28 #5E8A1E #1E8A80 #4A1E8A
square
#8A1E28 #5E8A1E #1E8A80 #4A1E8A
split-complementary
#8A1E28 #1E8A4A #1E5E8A
monochromatic
#25080B #581319 #8A1E28 #BC2937 #D84B58

Accessibility & contrast

On white

9.14
#8A1E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8A1E28
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1E28#FFFFFF#000000##FFFFFF
##8A1E281.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3927
Deuteranopia (green-blind)
#595025
Tritanopia (blue-blind)
#980023
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #8a1e28;
/* rgb */ color: rgb(138, 30, 40);
/* oklch */ color: oklch(41.9% 0.143 21.3);
Tailwind
colors: {
  custom: {
    50: '#b36461',
    500: '#8a1e28',
    950: '#000000',
  },
}
SCSS
$custom: #8a1e28;
$custom-light: #b36461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1e28",
  "rgb": {
    "r": 138,
    "g": 30,
    "b": 40
  },
  "hsl": {
    "h": 354.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.14263,
    "h": 21.3
  },
  "luminance": 0.06485
}

Semantic roles & 50–950 ramp

primary
#8A1E28
secondary
#4ABAB0
accent
#E7D841
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1E28

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

Preview Lab → · Contrast checker → · Palette generator →

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