#8E2076#8E2076

#8E2076 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 338.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E2076
RGBrgb(142, 32, 118)
HSLhsl(313, 63%, 34%)
HSVhsv(313, 77%, 56%)
CMYKcmyk(0%, 77.5%, 16.9%, 44.3%)
CIE-LABlab(34.18, 53.58, -23.07)
CIE-LCHlch(34.18, 58.33, 336.70°)
OKLaboklab(45.52% 0.159 -0.0626)
OKLCHoklch(45.52% 0.171 338.5)
XYZxyz(14.9422, 8.0933, 17.9112)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2076 #208E38
analogous
#6F208E #8E2076 #8E203F
triadic
#8E2076 #768E20 #20768E
tetradic
#8E2076 #8E6F20 #208E38 #203F8E
square
#8E2076 #8E6F20 #208E38 #203F8E
split-complementary
#8E2076 #3F8E20 #208E6F
monochromatic
#2A0923 #5C154C #8E2076 #C02BA0 #D851BA

Accessibility & contrast

On white

8.02
#8E2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2076
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2076#FFFFFF#000000##FFFFFF
##8E20761.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264578
Deuteranopia (green-blind)
#4B5673
Tritanopia (blue-blind)
#962649
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2076;
/* rgb */ color: rgb(142, 32, 118);
/* oklch */ color: oklch(45.5% 0.171 338.5);
Tailwind
colors: {
  custom: {
    50: '#b3689d',
    500: '#8e2076',
    950: '#000000',
  },
}
SCSS
$custom: #8e2076;
$custom-light: #b3689d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2076",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 313.091,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45522,
    "c": 0.17083,
    "h": 338.5
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#8E2076
secondary
#4FBB66
accent
#E66542
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2076

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

Preview Lab → · Contrast checker → · Palette generator →

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