#8E1877#8E1877

#8E1877 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.179 H 337.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8E1877
RGBrgb(142, 24, 119)
HSLhsl(312, 71%, 33%)
HSVhsv(312, 83%, 56%)
CMYKcmyk(0%, 83.1%, 16.2%, 44.3%)
CIE-LABlab(33.43, 56.01, -24.87)
CIE-LCHlch(33.43, 61.28, 336.06°)
OKLaboklab(45% 0.1659 -0.0676)
OKLCHoklch(45% 0.179 337.8)
XYZxyz(14.8121, 7.7374, 18.1626)
Luminance0.0774 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1877 #188E2F
analogous
#6A188E #8E1877 #8E183C
triadic
#8E1877 #778E18 #18778E
tetradic
#8E1877 #8E6A18 #188E2F #183C8E
square
#8E1877 #8E6A18 #188E2F #183C8E
split-complementary
#8E1877 #3C8E18 #188E6A
monochromatic
#25061F #5A0F4B #8E1877 #C221A3 #DF41C0

Accessibility & contrast

On white

8.24
#8E1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1877
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1877#FFFFFF#000000##FFFFFF
##8E18771.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#962047
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1877;
/* rgb */ color: rgb(142, 24, 119);
/* oklch */ color: oklch(45.0% 0.179 337.8);
Tailwind
colors: {
  custom: {
    50: '#b3659e',
    500: '#8e1877',
    950: '#000000',
  },
}
SCSS
$custom: #8e1877;
$custom-light: #b3659e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1877",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 311.695,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.17921,
    "h": 337.8
  },
  "luminance": 0.07736
}

Semantic roles & 50–950 ramp

primary
#8E1877
secondary
#42C05B
accent
#EE5D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #8E1877

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

Preview Lab → · Contrast checker → · Palette generator →

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