#8E1147#8E1147

#8E1147 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.160 H 2.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#8E1147
RGBrgb(142, 17, 71)
HSLhsl(334, 79%, 31%)
HSVhsv(334, 88%, 56%)
CMYKcmyk(0%, 88%, 50%, 44.3%)
CIE-LABlab(30.90, 52.08, 2.38)
CIE-LCHlch(30.90, 52.14, 2.62°)
OKLaboklab(42.53% 0.16 0.0066)
OKLCHoklch(42.53% 0.16 2.4)
XYZxyz(12.4942, 6.6084, 6.5777)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1147 #118E58
analogous
#8E1185 #8E1147 #8E1911
triadic
#8E1147 #478E11 #11478E
tetradic
#8E1147 #858E11 #118E58 #19118E
square
#8E1147 #858E11 #118E58 #19118E
split-complementary
#8E1147 #118E19 #11858E
monochromatic
#210410 #570A2C #8E1147 #C51862 #E73380

Accessibility & contrast

On white

9.05
#8E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#8E1147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1147
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1147#FFFFFF#000000##FFFFFF
##8E11471.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A48
Deuteranopia (green-blind)
#555144
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1147;
/* rgb */ color: rgb(142, 17, 71);
/* oklch */ color: oklch(42.5% 0.160 2.4);
Tailwind
colors: {
  custom: {
    50: '#b5617a',
    500: '#8e1147',
    950: '#000000',
  },
}
SCSS
$custom: #8e1147;
$custom-light: #b5617a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1147",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 71
  },
  "hsl": {
    "h": 334.08,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42529,
    "c": 0.16017,
    "h": 2.4
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#8E1147
secondary
#38C287
accent
#F5A133
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1147

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

Preview Lab → · Contrast checker → · Palette generator →

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