#8E1177#8E1177

#8E1177 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.185 H 337.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#8E1177
RGBrgb(142, 17, 119)
HSLhsl(311, 79%, 31%)
HSVhsv(311, 88%, 56%)
CMYKcmyk(0%, 88%, 16.2%, 44.3%)
CIE-LABlab(32.89, 57.58, -25.72)
CIE-LCHlch(32.89, 63.07, 335.93°)
OKLaboklab(44.61% 0.1707 -0.07)
OKLCHoklch(44.61% 0.185 337.7)
XYZxyz(14.6859, 7.4851, 18.1205)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1177 #118E28
analogous
#66118E #8E1177 #8E1138
triadic
#8E1177 #778E11 #11778E
tetradic
#8E1177 #8E6611 #118E28 #11388E
square
#8E1177 #8E6611 #118E28 #11388E
split-complementary
#8E1177 #388E11 #118E66
monochromatic
#21041B #570A49 #8E1177 #C518A5 #E733C5

Accessibility & contrast

On white

8.41
#8E1177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8E1177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1177
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1177#FFFFFF#000000##FFFFFF
##8E11771.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184279
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#961B46
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e1177;
/* rgb */ color: rgb(142, 17, 119);
/* oklch */ color: oklch(44.6% 0.185 337.7);
Tailwind
colors: {
  custom: {
    50: '#b3639e',
    500: '#8e1177',
    950: '#000000',
  },
}
SCSS
$custom: #8e1177;
$custom-light: #b3639e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1177",
  "rgb": {
    "r": 142,
    "g": 17,
    "b": 119
  },
  "hsl": {
    "h": 311.04,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.44613,
    "c": 0.18451,
    "h": 337.7
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#8E1177
secondary
#38C252
accent
#F55633
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1177

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

Preview Lab → · Contrast checker → · Palette generator →

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