#8E1834#8E1834

#8E1834 is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.4% C 0.152 H 14.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#8E1834
RGBrgb(142, 24, 52)
HSLhsl(346, 71%, 33%)
HSVhsv(346, 83%, 56%)
CMYKcmyk(0%, 83.1%, 63.4%, 44.3%)
CIE-LABlab(31.01, 48.94, 15.14)
CIE-LCHlch(31.01, 51.23, 17.19°)
OKLaboklab(42.45% 0.147 0.0369)
OKLCHoklch(42.45% 0.152 14.1)
XYZxyz(12.1031, 6.6538, 3.8952)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1834 #188E72
analogous
#8E186F #8E1834 #8E3718
triadic
#8E1834 #348E18 #18348E
tetradic
#8E1834 #6F8E18 #188E72 #37188E
square
#8E1834 #6F8E18 #188E72 #37188E
split-complementary
#8E1834 #188E37 #186F8E
monochromatic
#25060E #5A0F21 #8E1834 #C22147 #DF4167

Accessibility & contrast

On white

9.01
#8E1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#8E1834 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1834
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1834#FFFFFF#000000##FFFFFF
##8E18341.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3934
Deuteranopia (green-blind)
#595231
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1834;
/* rgb */ color: rgb(142, 24, 52);
/* oklch */ color: oklch(42.4% 0.152 14.1);
Tailwind
colors: {
  custom: {
    50: '#b6636b',
    500: '#8e1834',
    950: '#000000',
  },
}
SCSS
$custom: #8e1834;
$custom-light: #b6636b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1834",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 345.763,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.15158,
    "h": 14.1
  },
  "luminance": 0.06652
}

Semantic roles & 50–950 ramp

primary
#8E1834
secondary
#42C0A2
accent
#EEC33A
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120606
muted
#817A7A

Preview Lab

Preview with #8E1834

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

Preview Lab → · Contrast checker → · Palette generator →

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