#8E2071#8E2071

#8E2071 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.3% C 0.167 H 340.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8E2071
RGBrgb(142, 32, 113)
HSLhsl(316, 63%, 34%)
HSVhsv(316, 77%, 56%)
CMYKcmyk(0%, 77.5%, 20.4%, 44.3%)
CIE-LABlab(33.94, 52.86, -20.29)
CIE-LCHlch(33.94, 56.62, 339.00°)
OKLaboklab(45.27% 0.1583 -0.0547)
OKLCHoklch(45.27% 0.167 340.9)
XYZxyz(14.6529, 7.9776, 16.3877)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2071 #208E3D
analogous
#74208E #8E2071 #8E203A
triadic
#8E2071 #718E20 #20718E
tetradic
#8E2071 #8E7420 #208E3D #203A8E
square
#8E2071 #8E7420 #208E3D #203A8E
split-complementary
#8E2071 #3A8E20 #208E74
monochromatic
#2A0922 #5C1549 #8E2071 #C02B99 #D851B4

Accessibility & contrast

On white

8.09
#8E2071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E2071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2071
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2071#FFFFFF#000000##FFFFFF
##8E20711.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294573
Deuteranopia (green-blind)
#4D566E
Tritanopia (blue-blind)
#972346
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e2071;
/* rgb */ color: rgb(142, 32, 113);
/* oklch */ color: oklch(45.3% 0.167 340.9);
Tailwind
colors: {
  custom: {
    50: '#b3689a',
    500: '#8e2071',
    950: '#000000',
  },
}
SCSS
$custom: #8e2071;
$custom-light: #b3689a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2071",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 315.818,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4527,
    "c": 0.16746,
    "h": 340.9
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#8E2071
secondary
#4FBB6B
accent
#E66D42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #8E2071

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

Preview Lab → · Contrast checker → · Palette generator →

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