#8E1277#8E1277

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

Color values

HEX#8E1277
RGBrgb(142, 18, 119)
HSLhsl(311, 78%, 31%)
HSVhsv(311, 87%, 56%)
CMYKcmyk(0%, 87.3%, 16.2%, 44.3%)
CIE-LABlab(32.96, 57.38, -25.61)
CIE-LCHlch(32.96, 62.84, 335.94°)
OKLaboklab(44.66% 0.1701 -0.0697)
OKLCHoklch(44.66% 0.184 337.7)
XYZxyz(14.7018, 7.5168, 18.1258)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1277 #128E29
analogous
#67128E #8E1277 #8E1239
triadic
#8E1277 #778E12 #12778E
tetradic
#8E1277 #8E6712 #128E29 #12398E
square
#8E1277 #8E6712 #128E29 #12398E
split-complementary
#8E1277 #398E12 #128E67
monochromatic
#21041C #580B49 #8E1277 #C419A5 #E535C5

Accessibility & contrast

On white

8.39
#8E1277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1277
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1277#FFFFFF#000000##FFFFFF
##8E12771.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1277;
/* rgb */ color: rgb(142, 18, 119);
/* oklch */ color: oklch(44.7% 0.184 337.7);
Tailwind
colors: {
  custom: {
    50: '#b3649e',
    500: '#8e1277',
    950: '#000000',
  },
}
SCSS
$custom: #8e1277;
$custom-light: #b3649e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1277",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 119
  },
  "hsl": {
    "h": 311.129,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.18384,
    "h": 337.7
  },
  "luminance": 0.07515
}

Semantic roles & 50–950 ramp

primary
#8E1277
secondary
#3AC253
accent
#F45734
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E

Preview Lab

Preview with #8E1277

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

Preview Lab → · Contrast checker → · Palette generator →

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