#8E1D38#8E1D38

#8E1D38 is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 12.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8E1D38
RGBrgb(142, 29, 56)
HSLhsl(346, 66%, 34%)
HSVhsv(346, 80%, 56%)
CMYKcmyk(0%, 79.6%, 60.6%, 44.3%)
CIE-LABlab(31.62, 47.73, 13.32)
CIE-LCHlch(31.62, 49.55, 15.60°)
OKLaboklab(42.93% 0.1439 0.0329)
OKLCHoklch(42.93% 0.148 12.9)
XYZxyz(12.3098, 6.9169, 4.4275)
Luminance0.0692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D38 #1D8E73
analogous
#8E1D70 #8E1D38 #8E3A1D
triadic
#8E1D38 #388E1D #1D388E
tetradic
#8E1D38 #708E1D #1D8E73 #3A1D8E
square
#8E1D38 #708E1D #1D8E73 #3A1D8E
split-complementary
#8E1D38 #1D8E3A #1D708E
monochromatic
#280810 #5B1324 #8E1D38 #C1274C #DA4B6D

Accessibility & contrast

On white

8.81
#8E1D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#8E1D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D38
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D38#FFFFFF#000000##FFFFFF
##8E1D381.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3C38
Deuteranopia (green-blind)
#595335
Tritanopia (blue-blind)
#9C0029
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1d38;
/* rgb */ color: rgb(142, 29, 56);
/* oklch */ color: oklch(42.9% 0.148 12.9);
Tailwind
colors: {
  custom: {
    50: '#b5656e',
    500: '#8e1d38',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d38;
$custom-light: #b5656e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d38",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 56
  },
  "hsl": {
    "h": 345.664,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42928,
    "c": 0.14761,
    "h": 12.9
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#8E1D38
secondary
#4ABDA1
accent
#E9C03F
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #8E1D38

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

Preview Lab → · Contrast checker → · Palette generator →

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