#8E212F#8E212F

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

Color values

HEX#8E212F
RGBrgb(142, 33, 47)
HSLhsl(352, 62%, 34%)
HSVhsv(352, 77%, 56%)
CMYKcmyk(0%, 76.8%, 66.9%, 44.3%)
CIE-LABlab(31.91, 45.80, 19.59)
CIE-LCHlch(31.91, 49.82, 23.16°)
OKLaboklab(43.09% 0.1359 0.0466)
OKLCHoklch(43.09% 0.144 18.9)
XYZxyz(12.2136, 7.0456, 3.4056)
Luminance0.0704 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E212F #218E80
analogous
#8E2166 #8E212F #8E4A21
triadic
#8E212F #2F8E21 #212F8E
tetradic
#8E212F #668E21 #218E80 #4A218E
square
#8E212F #668E21 #218E80 #4A218E
split-complementary
#8E212F #218E4A #21668E
monochromatic
#2B0A0E #5C151F #8E212F #C02D3F #D75263

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E212F#FFFFFF#000000##FFFFFF
##8E212F1.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)
#403C2F
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e212f;
/* rgb */ color: rgb(142, 33, 47);
/* oklch */ color: oklch(43.1% 0.144 18.9);
Tailwind
colors: {
  custom: {
    50: '#b66667',
    500: '#8e212f',
    950: '#000000',
  },
}
SCSS
$custom: #8e212f;
$custom-light: #b66667;
$custom-dark: #000000;
JSON
{
  "hex": "#8e212f",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 352.294,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43087,
    "c": 0.14365,
    "h": 18.9
  },
  "luminance": 0.07044
}

Semantic roles & 50–950 ramp

primary
#8E212F
secondary
#50BAAD
accent
#E5D042
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E212F

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

Preview Lab → · Contrast checker → · Palette generator →

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