#8E2231#8E2231

#8E2231 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.2% C 0.143 H 18.1°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#8E2231
RGBrgb(142, 34, 49)
HSLhsl(352, 61%, 35%)
HSVhsv(352, 76%, 56%)
CMYKcmyk(0%, 76.1%, 65.5%, 44.3%)
CIE-LABlab(32.07, 45.57, 18.50)
CIE-LCHlch(32.07, 49.18, 22.10°)
OKLaboklab(43.22% 0.1356 0.0444)
OKLCHoklch(43.22% 0.143 18.1)
XYZxyz(12.2830, 7.1184, 3.6324)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2231 #228E7F
analogous
#8E2267 #8E2231 #8E4922
triadic
#8E2231 #318E22 #22318E
tetradic
#8E2231 #678E22 #228E7F #49228E
square
#8E2231 #678E22 #228E7F #49228E
split-complementary
#8E2231 #228E49 #22678E
monochromatic
#2B0A0F #5D1620 #8E2231 #BF2E42 #D65466

Accessibility & contrast

On white

8.67
#8E2231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#8E2231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2231
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2231#FFFFFF#000000##FFFFFF
##8E22311.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#9C0028
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e2231;
/* rgb */ color: rgb(142, 34, 49);
/* oklch */ color: oklch(43.2% 0.143 18.1);
Tailwind
colors: {
  custom: {
    50: '#b66768',
    500: '#8e2231',
    950: '#000000',
  },
}
SCSS
$custom: #8e2231;
$custom-light: #b66768;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2231",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 351.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.14264,
    "h": 18.1
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#8E2231
secondary
#52BAAB
accent
#E4CE43
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E2231

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

Preview Lab → · Contrast checker → · Palette generator →

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