#8E182B#8E182B

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

Color values

HEX#8E182B
RGBrgb(142, 24, 43)
HSLhsl(350, 71%, 33%)
HSVhsv(350, 83%, 56%)
CMYKcmyk(0%, 83.1%, 69.7%, 44.3%)
CIE-LABlab(30.83, 48.41, 20.83)
CIE-LCHlch(30.83, 52.70, 23.28°)
OKLaboklab(42.26% 0.1433 0.0489)
OKLCHoklch(42.26% 0.151 18.8)
XYZxyz(11.9194, 6.5803, 2.9276)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E182B #188E7B
analogous
#8E1866 #8E182B #8E4018
triadic
#8E182B #2B8E18 #182B8E
tetradic
#8E182B #668E18 #188E7B #40188E
square
#8E182B #668E18 #188E7B #40188E
split-complementary
#8E182B #188E40 #18668E
monochromatic
#25060B #5A0F1B #8E182B #C2213B #DF415B

Accessibility & contrast

On white

9.07
#8E182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E182B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E182B#FFFFFF#000000##FFFFFF
##8E182B1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C392B
Deuteranopia (green-blind)
#5A5127
Tritanopia (blue-blind)
#9C0021
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e182b;
/* rgb */ color: rgb(142, 24, 43);
/* oklch */ color: oklch(42.3% 0.151 18.8);
Tailwind
colors: {
  custom: {
    50: '#b76364',
    500: '#8e182b',
    950: '#000000',
  },
}
SCSS
$custom: #8e182b;
$custom-light: #b76364;
$custom-dark: #000000;
JSON
{
  "hex": "#8e182b",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 350.339,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42264,
    "c": 0.15144,
    "h": 18.8
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#8E182B
secondary
#42C0AB
accent
#EED13A
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #8E182B

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

Preview Lab → · Contrast checker → · Palette generator →

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