#8E1B71#8E1B71

#8E1B71 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.9% C 0.173 H 340.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E1B71
RGBrgb(142, 27, 113)
HSLhsl(315, 68%, 33%)
HSVhsv(315, 81%, 56%)
CMYKcmyk(0%, 81%, 20.4%, 44.3%)
CIE-LABlab(33.41, 54.36, -21.10)
CIE-LCHlch(33.41, 58.32, 338.78°)
OKLaboklab(44.89% 0.1629 -0.0569)
OKLCHoklch(44.89% 0.173 340.7)
XYZxyz(14.5284, 7.7284, 16.3462)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B71 #1B8E38
analogous
#711B8E #8E1B71 #8E1B38
triadic
#8E1B71 #718E1B #1B718E
tetradic
#8E1B71 #8E711B #1B8E38 #1B388E
square
#8E1B71 #8E711B #1B8E38 #1B388E
split-complementary
#8E1B71 #388E1B #1B8E71
monochromatic
#27071F #5B1148 #8E1B71 #C1259A #DC47B7

Accessibility & contrast

On white

8.25
#8E1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B71
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B71#FFFFFF#000000##FFFFFF
##8E1B711.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254373
Deuteranopia (green-blind)
#4B556E
Tritanopia (blue-blind)
#971F45
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1b71;
/* rgb */ color: rgb(142, 27, 113);
/* oklch */ color: oklch(44.9% 0.173 340.7);
Tailwind
colors: {
  custom: {
    50: '#b3669a',
    500: '#8e1b71',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b71;
$custom-light: #b3669a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b71",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 315.13,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.17253,
    "h": 340.7
  },
  "luminance": 0.07727
}

Semantic roles & 50–950 ramp

primary
#8E1B71
secondary
#47BE65
accent
#EB693D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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