#8E2127#8E2127

#8E2127 is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.144 H 23.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#8E2127
RGBrgb(142, 33, 39)
HSLhsl(357, 62%, 34%)
HSVhsv(357, 77%, 56%)
CMYKcmyk(0%, 76.8%, 72.5%, 44.3%)
CIE-LABlab(31.78, 45.36, 24.54)
CIE-LCHlch(31.78, 51.58, 28.42°)
OKLaboklab(42.94% 0.1327 0.0564)
OKLCHoklch(42.94% 0.144 23)
XYZxyz(12.0668, 6.9868, 2.6323)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2127 #218E88
analogous
#8E215E #8E2127 #8E5221
triadic
#8E2127 #278E21 #21278E
tetradic
#8E2127 #5E8E21 #218E88 #52218E
square
#8E2127 #5E8E21 #218E88 #52218E
split-complementary
#8E2127 #218E52 #215E8E
monochromatic
#2B0A0C #5C1519 #8E2127 #C02D35 #D7525A

Accessibility & contrast

On white

8.76
#8E2127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#8E2127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2127
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2127#FFFFFF#000000##FFFFFF
##8E21271.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C26
Deuteranopia (green-blind)
#5C5323
Tritanopia (blue-blind)
#9D0024
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2127;
/* rgb */ color: rgb(142, 33, 39);
/* oklch */ color: oklch(42.9% 0.144 23.0);
Tailwind
colors: {
  custom: {
    50: '#b76661',
    500: '#8e2127',
    950: '#000000',
  },
}
SCSS
$custom: #8e2127;
$custom-light: #b76661;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2127",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 356.697,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.14418,
    "h": 23
  },
  "luminance": 0.06985
}

Semantic roles & 50–950 ramp

primary
#8E2127
secondary
#50BAB5
accent
#E5DC42
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E2127

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

Preview Lab → · Contrast checker → · Palette generator →

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