#8A1427#8A1427

#8A1427 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.1% C 0.151 H 19.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#8A1427
RGBrgb(138, 20, 39)
HSLhsl(350, 75%, 31%)
HSVhsv(350, 86%, 54%)
CMYKcmyk(0%, 85.5%, 71.7%, 45.9%)
CIE-LABlab(29.54, 48.09, 21.66)
CIE-LCHlch(29.54, 52.74, 24.25°)
OKLaboklab(41.14% 0.1419 0.0503)
OKLCHoklch(41.14% 0.151 19.5)
XYZxyz(11.0989, 6.0518, 2.5028)
Luminance0.0605 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1427 #148A77
analogous
#8A1462 #8A1427 #8A3C14
triadic
#8A1427 #278A14 #14278A
tetradic
#8A1427 #628A14 #148A77 #3C148A
square
#8A1427 #628A14 #148A77 #3C148A
split-complementary
#8A1427 #148A3C #14628A
monochromatic
#1F0509 #550C18 #8A1427 #BF1C36 #E23652

Accessibility & contrast

On white

9.50
#8A1427 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#8A1427 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1427
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1427#FFFFFF#000000##FFFFFF
##8A14271.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3627
Deuteranopia (green-blind)
#574E23
Tritanopia (blue-blind)
#98001D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #8a1427;
/* rgb */ color: rgb(138, 20, 39);
/* oklch */ color: oklch(41.1% 0.151 19.5);
Tailwind
colors: {
  custom: {
    50: '#b46061',
    500: '#8a1427',
    950: '#000000',
  },
}
SCSS
$custom: #8a1427;
$custom-light: #b46061;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1427",
  "rgb": {
    "r": 138,
    "g": 20,
    "b": 39
  },
  "hsl": {
    "h": 350.339,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.15057,
    "h": 19.5
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#8A1427
secondary
#3CBEA9
accent
#F1D336
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120505
muted
#817A79

Preview Lab

Preview with #8A1427

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

Preview Lab → · Contrast checker → · Palette generator →

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