#8E2227#8E2227

#8E2227 is a dark, vivid red. Relative luminance 0.070; OKLCH L 43.0% C 0.143 H 23.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#8E2227
RGBrgb(142, 34, 39)
HSLhsl(357, 61%, 35%)
HSVhsv(357, 76%, 56%)
CMYKcmyk(0%, 76.1%, 72.5%, 44.3%)
CIE-LABlab(31.91, 45.01, 24.70)
CIE-LCHlch(31.91, 51.34, 28.76°)
OKLaboklab(43.04% 0.1315 0.0568)
OKLCHoklch(43.04% 0.143 23.3)
XYZxyz(12.0949, 7.0432, 2.6417)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2227 #228E89
analogous
#8E225D #8E2227 #8E5322
triadic
#8E2227 #278E22 #22278E
tetradic
#8E2227 #5D8E22 #228E89 #53228E
square
#8E2227 #5D8E22 #228E89 #53228E
split-complementary
#8E2227 #228E53 #225D8E
monochromatic
#2B0A0C #5D1619 #8E2227 #BF2E35 #D6545A

Accessibility & contrast

On white

8.72
#8E2227 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#8E2227 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2227
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2227#FFFFFF#000000##FFFFFF
##8E22271.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C26
Deuteranopia (green-blind)
#5D5323
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2227;
/* rgb */ color: rgb(142, 34, 39);
/* oklch */ color: oklch(43.0% 0.143 23.3);
Tailwind
colors: {
  custom: {
    50: '#b76661',
    500: '#8e2227',
    950: '#000000',
  },
}
SCSS
$custom: #8e2227;
$custom-light: #b76661;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2227",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 39
  },
  "hsl": {
    "h": 357.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4304,
    "c": 0.14327,
    "h": 23.3
  },
  "luminance": 0.07041
}

Semantic roles & 50–950 ramp

primary
#8E2227
secondary
#52BAB5
accent
#E4DD43
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130605
muted
#827A79

Preview Lab

Preview with #8E2227

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

Preview Lab → · Contrast checker → · Palette generator →

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