#8E1A2E#8E1A2E

#8E1A2E is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.5% C 0.150 H 17.7°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#8E1A2E
RGBrgb(142, 26, 46)
HSLhsl(350, 69%, 33%)
HSVhsv(350, 82%, 56%)
CMYKcmyk(0%, 81.7%, 67.6%, 44.3%)
CIE-LABlab(31.09, 48.00, 19.19)
CIE-LCHlch(31.09, 51.70, 21.79°)
OKLaboklab(42.47% 0.1427 0.0456)
OKLCHoklch(42.47% 0.15 17.7)
XYZxyz(12.0192, 6.6887, 3.2424)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A2E #1A8E7A
analogous
#8E1A68 #8E1A2E #8E401A
triadic
#8E1A2E #2E8E1A #1A2E8E
tetradic
#8E1A2E #688E1A #1A8E7A #401A8E
square
#8E1A2E #688E1A #1A8E7A #401A8E
split-complementary
#8E1A2E #1A8E40 #1A688E
monochromatic
#27070C #5A111D #8E1A2E #C2233F #DD4560

Accessibility & contrast

On white

8.98
#8E1A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#8E1A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A2E
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A2E#FFFFFF#000000##FFFFFF
##8E1A2E1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2E
Deuteranopia (green-blind)
#5A522B
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a2e;
/* rgb */ color: rgb(142, 26, 46);
/* oklch */ color: oklch(42.5% 0.150 17.7);
Tailwind
colors: {
  custom: {
    50: '#b66366',
    500: '#8e1a2e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a2e;
$custom-light: #b66366;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a2e",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 46
  },
  "hsl": {
    "h": 349.655,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42471,
    "c": 0.14982,
    "h": 17.7
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#8E1A2E
secondary
#45BEAA
accent
#ECCE3C
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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