#8E1B76#8E1B76

#8E1B76 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.176 H 338.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8E1B76
RGBrgb(142, 27, 118)
HSLhsl(313, 68%, 33%)
HSVhsv(313, 81%, 56%)
CMYKcmyk(0%, 81%, 16.9%, 44.3%)
CIE-LABlab(33.66, 55.07, -23.89)
CIE-LCHlch(33.66, 60.02, 336.55°)
OKLaboklab(45.15% 0.1635 -0.0649)
OKLCHoklch(45.15% 0.176 338.4)
XYZxyz(14.8176, 7.8441, 17.8697)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B76 #1B8E33
analogous
#6C1B8E #8E1B76 #8E1B3C
triadic
#8E1B76 #768E1B #1B768E
tetradic
#8E1B76 #8E6C1B #1B8E33 #1B3C8E
square
#8E1B76 #8E6C1B #1B8E33 #1B3C8E
split-complementary
#8E1B76 #3C8E1B #1B8E6C
monochromatic
#270721 #5B114B #8E1B76 #C125A1 #DC47BD

Accessibility & contrast

On white

8.18
#8E1B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B76
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B76#FFFFFF#000000##FFFFFF
##8E1B761.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1b76;
/* rgb */ color: rgb(142, 27, 118);
/* oklch */ color: oklch(45.1% 0.176 338.4);
Tailwind
colors: {
  custom: {
    50: '#b3669e',
    500: '#8e1b76',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b76;
$custom-light: #b3669e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b76",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 118
  },
  "hsl": {
    "h": 312.522,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45148,
    "c": 0.17585,
    "h": 338.4
  },
  "luminance": 0.07843
}

Semantic roles & 50–950 ramp

primary
#8E1B76
secondary
#47BE60
accent
#EB613D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1B76

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

Preview Lab → · Contrast checker → · Palette generator →

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