#8E1979#8E1979

#8E1979 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.2% C 0.180 H 336.9°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E1979
RGBrgb(142, 25, 121)
HSLhsl(311, 70%, 33%)
HSVhsv(311, 82%, 56%)
CMYKcmyk(0%, 82.4%, 14.8%, 44.3%)
CIE-LABlab(33.62, 56.04, -25.83)
CIE-LCHlch(33.62, 61.71, 335.25°)
OKLaboklab(45.17% 0.1653 -0.0704)
OKLCHoklch(45.17% 0.18 336.9)
XYZxyz(14.9545, 7.8280, 18.8088)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1979 #198E2E
analogous
#68198E #8E1979 #8E193F
triadic
#8E1979 #798E19 #19798E
tetradic
#8E1979 #8E6819 #198E2E #193F8E
square
#8E1979 #8E6819 #198E2E #193F8E
split-complementary
#8E1979 #3F8E19 #198E68
monochromatic
#260720 #5A104D #8E1979 #C222A5 #DE43C2

Accessibility & contrast

On white

8.19
#8E1979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1979
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1979#FFFFFF#000000##FFFFFF
##8E19791.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D447B
Deuteranopia (green-blind)
#485576
Tritanopia (blue-blind)
#962249
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1979;
/* rgb */ color: rgb(142, 25, 121);
/* oklch */ color: oklch(45.2% 0.180 336.9);
Tailwind
colors: {
  custom: {
    50: '#b366a0',
    500: '#8e1979',
    950: '#000000',
  },
}
SCSS
$custom: #8e1979;
$custom-light: #b366a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1979",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 310.769,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.1797,
    "h": 336.9
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#8E1979
secondary
#44BF5A
accent
#ED5B3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E1979

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

Preview Lab → · Contrast checker → · Palette generator →

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