#8A1D27#8A1D27

#8A1D27 is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.8% C 0.144 H 21.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#8A1D27
RGBrgb(138, 29, 39)
HSLhsl(354, 65%, 33%)
HSVhsv(354, 79%, 54%)
CMYKcmyk(0%, 79%, 71.7%, 45.9%)
CIE-LABlab(30.47, 45.46, 22.79)
CIE-LCHlch(30.47, 50.85, 26.62°)
OKLaboklab(41.83% 0.1335 0.0528)
OKLCHoklch(41.83% 0.144 21.6)
XYZxyz(11.2881, 6.4302, 2.5659)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1D27 #1D8A80
analogous
#8A1D5E #8A1D27 #8A491D
triadic
#8A1D27 #278A1D #1D278A
tetradic
#8A1D27 #5E8A1D #1D8A80 #491D8A
square
#8A1D27 #5E8A1D #1D8A80 #491D8A
split-complementary
#8A1D27 #1D8A49 #1D5E8A
monochromatic
#25080A #571219 #8A1D27 #BD2835 #D94956

Accessibility & contrast

On white

9.19
#8A1D27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#8A1D27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1D27
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1D27#FFFFFF#000000##FFFFFF
##8A1D271.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.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: #8a1d27;
/* rgb */ color: rgb(138, 29, 39);
/* oklch */ color: oklch(41.8% 0.144 21.6);
Tailwind
colors: {
  custom: {
    50: '#b46461',
    500: '#8a1d27',
    950: '#000000',
  },
}
SCSS
$custom: #8a1d27;
$custom-light: #b46461;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1d27",
  "rgb": {
    "r": 138,
    "g": 29,
    "b": 39
  },
  "hsl": {
    "h": 354.495,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41829,
    "c": 0.14358,
    "h": 21.6
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#8A1D27
secondary
#48BBB0
accent
#E8D940
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120605
muted
#817A79

Preview Lab

Preview with #8A1D27

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

Preview Lab → · Contrast checker → · Palette generator →

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