#8E207A#8E207A

#8E207A is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 336.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#8E207A
RGBrgb(142, 32, 122)
HSLhsl(311, 63%, 34%)
HSVhsv(311, 77%, 56%)
CMYKcmyk(0%, 77.5%, 14.1%, 44.3%)
CIE-LABlab(34.38, 54.17, -25.28)
CIE-LCHlch(34.38, 59.78, 334.98°)
OKLaboklab(45.73% 0.1594 -0.0689)
OKLCHoklch(45.73% 0.174 336.6)
XYZxyz(15.1850, 8.1904, 19.1897)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E207A #208E34
analogous
#6B208E #8E207A #8E2043
triadic
#8E207A #7A8E20 #207A8E
tetradic
#8E207A #8E6B20 #208E34 #20438E
square
#8E207A #8E6B20 #208E34 #20438E
split-complementary
#8E207A #438E20 #208E6B
monochromatic
#2A0924 #5C154F #8E207A #C02BA5 #D851BF

Accessibility & contrast

On white

7.96
#8E207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E207A
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E207A#FFFFFF#000000##FFFFFF
##8E207A1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23467C
Deuteranopia (green-blind)
#495777
Tritanopia (blue-blind)
#96284B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e207a;
/* rgb */ color: rgb(142, 32, 122);
/* oklch */ color: oklch(45.7% 0.174 336.6);
Tailwind
colors: {
  custom: {
    50: '#b368a0',
    500: '#8e207a',
    950: '#000000',
  },
}
SCSS
$custom: #8e207a;
$custom-light: #b368a0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e207a",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 310.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45731,
    "c": 0.17363,
    "h": 336.6
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#8E207A
secondary
#4FBB63
accent
#E65F42
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #8E207A

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

Preview Lab → · Contrast checker → · Palette generator →

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