#8E2233#8E2233

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

Color values

HEX#8E2233
RGBrgb(142, 34, 51)
HSLhsl(351, 61%, 35%)
HSVhsv(351, 76%, 56%)
CMYKcmyk(0%, 76.1%, 64.1%, 44.3%)
CIE-LABlab(32.11, 45.70, 17.26)
CIE-LCHlch(32.11, 48.85, 20.69°)
OKLaboklab(43.26% 0.1364 0.0417)
OKLCHoklch(43.26% 0.143 17)
XYZxyz(12.3262, 7.1357, 3.8596)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2233 #228E7D
analogous
#8E2269 #8E2233 #8E4722
triadic
#8E2233 #338E22 #22338E
tetradic
#8E2233 #698E22 #228E7D #47228E
square
#8E2233 #698E22 #228E7D #47228E
split-complementary
#8E2233 #228E47 #22698E
monochromatic
#2B0A10 #5D1621 #8E2233 #BF2E45 #D65469

Accessibility & contrast

On white

8.65
#8E2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#8E2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2233
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2233#FFFFFF#000000##FFFFFF
##8E22331.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D33
Deuteranopia (green-blind)
#5B5430
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #8e2233;
/* rgb */ color: rgb(142, 34, 51);
/* oklch */ color: oklch(43.3% 0.143 17.0);
Tailwind
colors: {
  custom: {
    50: '#b6676a',
    500: '#8e2233',
    950: '#000000',
  },
}
SCSS
$custom: #8e2233;
$custom-light: #b6676a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2233",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 350.556,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43262,
    "c": 0.14263,
    "h": 17
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#8E2233
secondary
#52BAAA
accent
#E4CB43
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E2233

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

Preview Lab → · Contrast checker → · Palette generator →

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