#8E1F32#8E1F32

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

Color values

HEX#8E1F32
RGBrgb(142, 31, 50)
HSLhsl(350, 64%, 34%)
HSVhsv(350, 78%, 56%)
CMYKcmyk(0%, 78.2%, 64.8%, 44.3%)
CIE-LABlab(31.72, 46.67, 17.40)
CIE-LCHlch(31.72, 49.81, 20.44°)
OKLaboklab(42.97% 0.1393 0.0419)
OKLCHoklch(42.97% 0.145 16.8)
XYZxyz(12.2223, 6.9629, 3.7174)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F32 #1F8E7B
analogous
#8E1F6A #8E1F32 #8E441F
triadic
#8E1F32 #328E1F #1F328E
tetradic
#8E1F32 #6A8E1F #1F8E7B #441F8E
square
#8E1F32 #6A8E1F #1F8E7B #441F8E
split-complementary
#8E1F32 #1F8E44 #1F6A8E
monochromatic
#2A090F #5C1420 #8E1F32 #C02A44 #D94F66

Accessibility & contrast

On white

8.78
#8E1F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#8E1F32 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F32
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F32#FFFFFF#000000##FFFFFF
##8E1F321.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3C32
Deuteranopia (green-blind)
#5B532F
Tritanopia (blue-blind)
#9C0027
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #8e1f32;
/* rgb */ color: rgb(142, 31, 50);
/* oklch */ color: oklch(43.0% 0.145 16.8);
Tailwind
colors: {
  custom: {
    50: '#b66569',
    500: '#8e1f32',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f32;
$custom-light: #b66569;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f32",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 50
  },
  "hsl": {
    "h": 349.73,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42965,
    "c": 0.14549,
    "h": 16.8
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#8E1F32
secondary
#4DBBA9
accent
#E7CB41
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1F32

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

Preview Lab → · Contrast checker → · Palette generator →

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