#8E4078#8E4078

#8E4078 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.2% C 0.127 H 339.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8E4078
RGBrgb(142, 64, 120)
HSLhsl(317, 38%, 40%)
HSVhsv(317, 55%, 56%)
CMYKcmyk(0%, 54.9%, 15.5%, 44.3%)
CIE-LABlab(39.20, 40.32, -16.56)
CIE-LCHlch(39.20, 43.58, 337.67°)
OKLaboklab(49.23% 0.1187 -0.0445)
OKLCHoklch(49.23% 0.127 339.5)
XYZxyz(16.3791, 10.7749, 18.9828)
Luminance0.1077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4078 #408E56
analogous
#7D408E #8E4078 #8E4051
triadic
#8E4078 #788E40 #40788E
tetradic
#8E4078 #8E7D40 #408E56 #40518E
square
#8E4078 #8E7D40 #408E56 #40518E
split-complementary
#8E4078 #518E40 #408E7D
monochromatic
#3A1A31 #642D54 #8E4078 #B4589A #C782B3

Accessibility & contrast

On white

6.66
#8E4078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8E4078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4078
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4078#FFFFFF#000000##FFFFFF
##8E40781.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43557A
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#954256
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8e4078;
/* rgb */ color: rgb(142, 64, 120);
/* oklch */ color: oklch(49.2% 0.127 339.5);
Tailwind
colors: {
  custom: {
    50: '#b1789f',
    500: '#8e4078',
    950: '#000000',
  },
}
SCSS
$custom: #8e4078;
$custom-light: #b1789f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4078",
  "rgb": {
    "r": 142,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 316.923,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.12679,
    "h": 339.5
  },
  "luminance": 0.10774
}

Semantic roles & 50–950 ramp

primary
#8E4078
secondary
#79B189
accent
#CE7B5A
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11090E
muted
#807B7E

Preview Lab

Preview with #8E4078

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

Preview Lab → · Contrast checker → · Palette generator →

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