#8E1B77#8E1B77

#8E1B77 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 337.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1B77
RGBrgb(142, 27, 119)
HSLhsl(312, 68%, 33%)
HSVhsv(312, 81%, 56%)
CMYKcmyk(0%, 81%, 16.2%, 44.3%)
CIE-LABlab(33.71, 55.21, -24.44)
CIE-LCHlch(33.71, 60.38, 336.12°)
OKLaboklab(45.2% 0.1636 -0.0664)
OKLCHoklch(45.2% 0.177 337.9)
XYZxyz(14.8774, 7.8680, 18.1843)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B77 #1B8E32
analogous
#6B1B8E #8E1B77 #8E1B3D
triadic
#8E1B77 #778E1B #1B778E
tetradic
#8E1B77 #8E6B1B #1B8E32 #1B3D8E
square
#8E1B77 #8E6B1B #1B8E32 #1B3D8E
split-complementary
#8E1B77 #3D8E1B #1B8E6B
monochromatic
#270721 #5B114C #8E1B77 #C125A2 #DC47BE

Accessibility & contrast

On white

8.16
#8E1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B77
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B77#FFFFFF#000000##FFFFFF
##8E1B771.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#495574
Tritanopia (blue-blind)
#962248
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1b77;
/* rgb */ color: rgb(142, 27, 119);
/* oklch */ color: oklch(45.2% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#b3669e',
    500: '#8e1b77',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b77;
$custom-light: #b3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b77",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 312,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.452,
    "c": 0.17653,
    "h": 337.9
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#8E1B77
secondary
#47BE5F
accent
#EB603D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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