#8E2228#8E2228

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

Color values

HEX#8E2228
RGBrgb(142, 34, 40)
HSLhsl(357, 61%, 35%)
HSVhsv(357, 76%, 56%)
CMYKcmyk(0%, 76.1%, 71.8%, 44.3%)
CIE-LABlab(31.92, 45.06, 24.08)
CIE-LCHlch(31.92, 51.09, 28.13°)
OKLaboklab(43.06% 0.1319 0.0556)
OKLCHoklch(43.06% 0.143 22.9)
XYZxyz(12.1117, 7.0499, 2.7301)
Luminance0.0705 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2228 #228E88
analogous
#8E225E #8E2228 #8E5222
triadic
#8E2228 #288E22 #22288E
tetradic
#8E2228 #5E8E22 #228E88 #52228E
square
#8E2228 #5E8E22 #228E88 #52228E
split-complementary
#8E2228 #228E52 #225E8E
monochromatic
#2B0A0C #5D161A #8E2228 #BF2E36 #D6545B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2228#FFFFFF#000000##FFFFFF
##8E22281.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)
#423C27
Deuteranopia (green-blind)
#5D5324
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2228;
/* rgb */ color: rgb(142, 34, 40);
/* oklch */ color: oklch(43.1% 0.143 22.9);
Tailwind
colors: {
  custom: {
    50: '#b66662',
    500: '#8e2228',
    950: '#000000',
  },
}
SCSS
$custom: #8e2228;
$custom-light: #b66662;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2228",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.14317,
    "h": 22.9
  },
  "luminance": 0.07048
}

Semantic roles & 50–950 ramp

primary
#8E2228
secondary
#52BAB4
accent
#E4DC43
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E2228

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

Preview Lab → · Contrast checker → · Palette generator →

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