#8E1B27#8E1B27

#8E1B27 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.149 H 21.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#8E1B27
RGBrgb(142, 27, 39)
HSLhsl(354, 68%, 33%)
HSVhsv(354, 81%, 56%)
CMYKcmyk(0%, 81%, 72.5%, 44.3%)
CIE-LABlab(31.07, 47.33, 23.71)
CIE-LCHlch(31.07, 52.94, 26.60°)
OKLaboklab(42.42% 0.139 0.0546)
OKLCHoklch(42.42% 0.149 21.4)
XYZxyz(11.9148, 6.6830, 2.5816)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B27 #1B8E82
analogous
#8E1B60 #8E1B27 #8E481B
triadic
#8E1B27 #278E1B #1B278E
tetradic
#8E1B27 #608E1B #1B8E82 #481B8E
square
#8E1B27 #608E1B #1B8E82 #481B8E
split-complementary
#8E1B27 #1B8E48 #1B608E
monochromatic
#27070B #5B1119 #8E1B27 #C12535 #DC4757

Accessibility & contrast

On white

8.99
#8E1B27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1B27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B27
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B27#FFFFFF#000000##FFFFFF
##8E1B271.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3926
Deuteranopia (green-blind)
#5B5223
Tritanopia (blue-blind)
#9D0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1b27;
/* rgb */ color: rgb(142, 27, 39);
/* oklch */ color: oklch(42.4% 0.149 21.4);
Tailwind
colors: {
  custom: {
    50: '#b76361',
    500: '#8e1b27',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b27;
$custom-light: #b76361;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b27",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 39
  },
  "hsl": {
    "h": 353.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42423,
    "c": 0.14929,
    "h": 21.4
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#8E1B27
secondary
#47BEB1
accent
#EBD93D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E1B27

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

Preview Lab → · Contrast checker → · Palette generator →

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