#8E1947#8E1947

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

Color values

HEX#8E1947
RGBrgb(142, 25, 71)
HSLhsl(336, 70%, 33%)
HSVhsv(336, 82%, 56%)
CMYKcmyk(0%, 82.4%, 50%, 44.3%)
CIE-LABlab(31.58, 50.12, 3.37)
CIE-LCHlch(31.58, 50.23, 3.85°)
OKLaboklab(43.03% 0.1537 0.0091)
OKLCHoklch(43.03% 0.154 3.4)
XYZxyz(12.6414, 6.9027, 6.6267)
Luminance0.0690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1947 #198E60
analogous
#8E1982 #8E1947 #8E2519
triadic
#8E1947 #478E19 #19478E
tetradic
#8E1947 #828E19 #198E60 #25198E
square
#8E1947 #828E19 #198E60 #25198E
split-complementary
#8E1947 #198E25 #19828E
monochromatic
#260713 #5A102D #8E1947 #C22261 #DE4380

Accessibility & contrast

On white

8.82
#8E1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1947
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1947#FFFFFF#000000##FFFFFF
##8E19471.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1947;
/* rgb */ color: rgb(142, 25, 71);
/* oklch */ color: oklch(43.0% 0.154 3.4);
Tailwind
colors: {
  custom: {
    50: '#b5647a',
    500: '#8e1947',
    950: '#000000',
  },
}
SCSS
$custom: #8e1947;
$custom-light: #b5647a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1947",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 336.41,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43031,
    "c": 0.15395,
    "h": 3.4
  },
  "luminance": 0.06901
}

Semantic roles & 50–950 ramp

primary
#8E1947
secondary
#44BF8F
accent
#EDA73B
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1947

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

Preview Lab → · Contrast checker → · Palette generator →

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