#8E1847#8E1847

#8E1847 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.0% C 0.155 H 3.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8E1847
RGBrgb(142, 24, 71)
HSLhsl(336, 71%, 33%)
HSVhsv(336, 83%, 56%)
CMYKcmyk(0%, 83.1%, 50%, 44.3%)
CIE-LABlab(31.49, 50.39, 3.23)
CIE-LCHlch(31.49, 50.50, 3.67°)
OKLaboklab(42.96% 0.1546 0.0088)
OKLCHoklch(42.96% 0.155 3.2)
XYZxyz(12.6204, 6.8608, 6.6197)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1847 #188E5F
analogous
#8E1882 #8E1847 #8E2418
triadic
#8E1847 #478E18 #18478E
tetradic
#8E1847 #828E18 #188E5F #24188E
square
#8E1847 #828E18 #188E5F #24188E
split-complementary
#8E1847 #188E24 #18828E
monochromatic
#250613 #5A0F2D #8E1847 #C22161 #DF4180

Accessibility & contrast

On white

8.85
#8E1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#8E1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1847
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1847#FFFFFF#000000##FFFFFF
##8E18471.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373B48
Deuteranopia (green-blind)
#565244
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #8e1847;
/* rgb */ color: rgb(142, 24, 71);
/* oklch */ color: oklch(43.0% 0.155 3.2);
Tailwind
colors: {
  custom: {
    50: '#b5637a',
    500: '#8e1847',
    950: '#000000',
  },
}
SCSS
$custom: #8e1847;
$custom-light: #b5637a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1847",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 336.102,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4296,
    "c": 0.15482,
    "h": 3.2
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#8E1847
secondary
#42C08E
accent
#EEA63A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1847

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

Preview Lab → · Contrast checker → · Palette generator →

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