#8E2A76#8E2A76

#8E2A76 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.159 H 338.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#8E2A76
RGBrgb(142, 42, 118)
HSLhsl(314, 54%, 36%)
HSVhsv(314, 70%, 56%)
CMYKcmyk(0%, 70.4%, 16.9%, 44.3%)
CIE-LABlab(35.43, 50.03, -21.12)
CIE-LCHlch(35.43, 54.30, 337.11°)
OKLaboklab(46.43% 0.1483 -0.0571)
OKLCHoklch(46.43% 0.159 338.9)
XYZxyz(15.2536, 8.7161, 18.0151)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A76 #2A8E42
analogous
#742A8E #8E2A76 #8E2A44
triadic
#8E2A76 #768E2A #2A768E
tetradic
#8E2A76 #8E742A #2A8E42 #2A448E
square
#8E2A76 #8E742A #2A8E42 #2A448E
split-complementary
#8E2A76 #448E2A #2A8E74
monochromatic
#300E28 #5F1C4F #8E2A76 #BD389D #D162B6

Accessibility & contrast

On white

7.66
#8E2A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8E2A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A76
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A76#FFFFFF#000000##FFFFFF
##8E2A761.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#4F5974
Tritanopia (blue-blind)
#962E4C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8e2a76;
/* rgb */ color: rgb(142, 42, 118);
/* oklch */ color: oklch(46.4% 0.159 338.9);
Tailwind
colors: {
  custom: {
    50: '#b26c9d',
    500: '#8e2a76',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a76;
$custom-light: #b26c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a76",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 118
  },
  "hsl": {
    "h": 314.4,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.15889,
    "h": 338.9
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#8E2A76
secondary
#5DB673
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2A76

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

Preview Lab → · Contrast checker → · Palette generator →

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