#8E1B79#8E1B79

#8E1B79 is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.3% C 0.178 H 337.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#8E1B79
RGBrgb(142, 27, 121)
HSLhsl(311, 68%, 33%)
HSVhsv(311, 81%, 56%)
CMYKcmyk(0%, 81%, 14.8%, 44.3%)
CIE-LABlab(33.81, 55.50, -25.54)
CIE-LCHlch(33.81, 61.10, 335.29°)
OKLaboklab(45.31% 0.1637 -0.0696)
OKLCHoklch(45.31% 0.178 337)
XYZxyz(14.9988, 7.9166, 18.8236)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B79 #1B8E30
analogous
#6A1B8E #8E1B79 #8E1B3F
triadic
#8E1B79 #798E1B #1B798E
tetradic
#8E1B79 #8E6A1B #1B8E30 #1B3F8E
square
#8E1B79 #8E6A1B #1B8E30 #1B3F8E
split-complementary
#8E1B79 #3F8E1B #1B8E6A
monochromatic
#270721 #5B114D #8E1B79 #C125A5 #DC47C1

Accessibility & contrast

On white

8.13
#8E1B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E1B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1B79
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B79#FFFFFF#000000##FFFFFF
##8E1B791.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F447B
Deuteranopia (green-blind)
#485676
Tritanopia (blue-blind)
#962349
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1b79;
/* rgb */ color: rgb(142, 27, 121);
/* oklch */ color: oklch(45.3% 0.178 337.0);
Tailwind
colors: {
  custom: {
    50: '#b366a0',
    500: '#8e1b79',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b79;
$custom-light: #b366a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b79",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 121
  },
  "hsl": {
    "h": 310.957,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45307,
    "c": 0.1779,
    "h": 337
  },
  "luminance": 0.07915
}

Semantic roles & 50–950 ramp

primary
#8E1B79
secondary
#47BE5D
accent
#EB5D3D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1B79

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

Preview Lab → · Contrast checker → · Palette generator →

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