#8E182F#8E182F

#8E182F is a dark, vivid red. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 16.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#8E182F
RGBrgb(142, 24, 47)
HSLhsl(348, 71%, 33%)
HSVhsv(348, 83%, 56%)
CMYKcmyk(0%, 83.1%, 66.9%, 44.3%)
CIE-LABlab(30.90, 48.63, 18.31)
CIE-LCHlch(30.90, 51.96, 20.63°)
OKLaboklab(42.34% 0.145 0.0437)
OKLCHoklch(42.34% 0.151 16.8)
XYZxyz(11.9964, 6.6111, 3.3332)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E182F #188E77
analogous
#8E186A #8E182F #8E3C18
triadic
#8E182F #2F8E18 #182F8E
tetradic
#8E182F #6A8E18 #188E77 #3C188E
square
#8E182F #6A8E18 #188E77 #3C188E
split-complementary
#8E182F #188E3C #186A8E
monochromatic
#25060C #5A0F1E #8E182F #C22140 #DF4160

Accessibility & contrast

On white

9.04
#8E182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E182F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E182F#FFFFFF#000000##FFFFFF
##8E182F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392F
Deuteranopia (green-blind)
#59512C
Tritanopia (blue-blind)
#9C0022
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e182f;
/* rgb */ color: rgb(142, 24, 47);
/* oklch */ color: oklch(42.3% 0.151 16.8);
Tailwind
colors: {
  custom: {
    50: '#b66367',
    500: '#8e182f',
    950: '#000000',
  },
}
SCSS
$custom: #8e182f;
$custom-light: #b66367;
$custom-dark: #000000;
JSON
{
  "hex": "#8e182f",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 348.305,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42342,
    "c": 0.1514,
    "h": 16.8
  },
  "luminance": 0.06609
}

Semantic roles & 50–950 ramp

primary
#8E182F
secondary
#42C0A7
accent
#EECB3A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E182F

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

Preview Lab → · Contrast checker → · Palette generator →

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