#8E216F#8E216F

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

Color values

HEX#8E216F
RGBrgb(142, 33, 111)
HSLhsl(317, 62%, 34%)
HSVhsv(317, 77%, 56%)
CMYKcmyk(0%, 76.8%, 21.8%, 44.3%)
CIE-LABlab(33.96, 52.25, -18.99)
CIE-LCHlch(33.96, 55.60, 340.03°)
OKLaboklab(45.26% 0.157 -0.051)
OKLCHoklch(45.26% 0.165 342)
XYZxyz(14.5689, 7.9877, 15.8104)
Luminance0.0799 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216F #218E40
analogous
#77218E #8E216F #8E2139
triadic
#8E216F #6F8E21 #216F8E
tetradic
#8E216F #8E7721 #218E40 #21398E
square
#8E216F #8E7721 #218E40 #21398E
split-complementary
#8E216F #398E21 #218E77
monochromatic
#2B0A21 #5C1548 #8E216F #C02D96 #D752B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E216F#FFFFFF#000000##FFFFFF
##8E216F1.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)
#2B4571
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#972345
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e216f;
/* rgb */ color: rgb(142, 33, 111);
/* oklch */ color: oklch(45.3% 0.165 342.0);
Tailwind
colors: {
  custom: {
    50: '#b36898',
    500: '#8e216f',
    950: '#000000',
  },
}
SCSS
$custom: #8e216f;
$custom-light: #b36898;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216f",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 317.064,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45255,
    "c": 0.16505,
    "h": 342
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#8E216F
secondary
#50BA6F
accent
#E57142
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E216F

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

Preview Lab → · Contrast checker → · Palette generator →

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