#8E1B2F#8E1B2F

#8E1B2F is a dark, vivid red. Relative luminance 0.067; OKLCH L 42.6% C 0.149 H 17.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#8E1B2F
RGBrgb(142, 27, 47)
HSLhsl(350, 68%, 33%)
HSVhsv(350, 81%, 56%)
CMYKcmyk(0%, 81%, 66.9%, 44.3%)
CIE-LABlab(31.21, 47.76, 18.70)
CIE-LCHlch(31.21, 51.29, 21.38°)
OKLaboklab(42.57% 0.1422 0.0446)
OKLCHoklch(42.57% 0.149 17.4)
XYZxyz(12.0617, 6.7417, 3.3550)
Luminance0.0674 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B2F #1B8E7A
analogous
#8E1B68 #8E1B2F #8E401B
triadic
#8E1B2F #2F8E1B #1B2F8E
tetradic
#8E1B2F #688E1B #1B8E7A #401B8E
square
#8E1B2F #688E1B #1B8E7A #401B8E
split-complementary
#8E1B2F #1B8E40 #1B688E
monochromatic
#27070D #5B111E #8E1B2F #C12540 #DC4761

Accessibility & contrast

On white

8.94
#8E1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#8E1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B2F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B2F#FFFFFF#000000##FFFFFF
##8E1B2F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#9C0024
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1b2f;
/* rgb */ color: rgb(142, 27, 47);
/* oklch */ color: oklch(42.6% 0.149 17.4);
Tailwind
colors: {
  custom: {
    50: '#b66467',
    500: '#8e1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b2f;
$custom-light: #b66467;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b2f",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 349.565,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42569,
    "c": 0.149,
    "h": 17.4
  },
  "luminance": 0.0674
}

Semantic roles & 50–950 ramp

primary
#8E1B2F
secondary
#47BEA9
accent
#EBCD3D
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #8E1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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