#8E1A2F#8E1A2F

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

Color values

HEX#8E1A2F
RGBrgb(142, 26, 47)
HSLhsl(349, 69%, 33%)
HSVhsv(349, 82%, 56%)
CMYKcmyk(0%, 81.7%, 66.9%, 44.3%)
CIE-LABlab(31.11, 48.06, 18.56)
CIE-LCHlch(31.11, 51.52, 21.12°)
OKLaboklab(42.49% 0.1431 0.0443)
OKLCHoklch(42.49% 0.15 17.2)
XYZxyz(12.0391, 6.6967, 3.3474)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A2F #1A8E79
analogous
#8E1A69 #8E1A2F #8E3F1A
triadic
#8E1A2F #2F8E1A #1A2F8E
tetradic
#8E1A2F #698E1A #1A8E79 #3F1A8E
square
#8E1A2F #698E1A #1A8E79 #3F1A8E
split-complementary
#8E1A2F #1A8E3F #1A698E
monochromatic
#27070D #5A111E #8E1A2F #C22340 #DD4561

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1A2F#FFFFFF#000000##FFFFFF
##8E1A2F1.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)
#3D3A2F
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#9C0023
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1a2f;
/* rgb */ color: rgb(142, 26, 47);
/* oklch */ color: oklch(42.5% 0.150 17.2);
Tailwind
colors: {
  custom: {
    50: '#b66367',
    500: '#8e1a2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a2f;
$custom-light: #b66367;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a2f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 47
  },
  "hsl": {
    "h": 349.138,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42491,
    "c": 0.14982,
    "h": 17.2
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#8E1A2F
secondary
#45BEA8
accent
#ECCC3C
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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