#8E1047#8E1047

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

Color values

HEX#8E1047
RGBrgb(142, 16, 71)
HSLhsl(334, 80%, 31%)
HSVhsv(334, 89%, 56%)
CMYKcmyk(0%, 88.7%, 50%, 44.3%)
CIE-LABlab(30.83, 52.29, 2.28)
CIE-LCHlch(30.83, 52.34, 2.50°)
OKLaboklab(42.48% 0.1607 0.0064)
OKLCHoklch(42.48% 0.161 2.3)
XYZxyz(12.4791, 6.5781, 6.5726)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1047 #108E57
analogous
#8E1086 #8E1047 #8E1810
triadic
#8E1047 #478E10 #10478E
tetradic
#8E1047 #868E10 #108E57 #18108E
square
#8E1047 #868E10 #108E57 #18108E
split-complementary
#8E1047 #108E18 #10868E
monochromatic
#200410 #570A2B #8E1047 #C51662 #E83181

Accessibility & contrast

On white

9.07
#8E1047 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1047
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1047#FFFFFF#000000##FFFFFF
##8E10471.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343948
Deuteranopia (green-blind)
#545144
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #8e1047;
/* rgb */ color: rgb(142, 16, 71);
/* oklch */ color: oklch(42.5% 0.161 2.3);
Tailwind
colors: {
  custom: {
    50: '#b5617a',
    500: '#8e1047',
    950: '#000000',
  },
}
SCSS
$custom: #8e1047;
$custom-light: #b5617a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1047",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 71
  },
  "hsl": {
    "h": 333.81,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42476,
    "c": 0.16083,
    "h": 2.3
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#8E1047
secondary
#37C386
accent
#F6A032
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B

Preview Lab

Preview with #8E1047

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

Preview Lab → · Contrast checker → · Palette generator →

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