#8E216B#8E216B

#8E216B is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.162 H 344.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#8E216B
RGBrgb(142, 33, 107)
HSLhsl(319, 62%, 34%)
HSVhsv(319, 77%, 56%)
CMYKcmyk(0%, 76.8%, 24.6%, 44.3%)
CIE-LABlab(33.78, 51.71, -16.72)
CIE-LCHlch(33.78, 54.34, 342.08°)
OKLaboklab(45.07% 0.1562 -0.0446)
OKLCHoklch(45.07% 0.162 344.1)
XYZxyz(14.3536, 7.9016, 14.6763)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E216B #218E44
analogous
#7B218E #8E216B #8E2135
triadic
#8E216B #6B8E21 #216B8E
tetradic
#8E216B #8E7B21 #218E44 #21358E
square
#8E216B #8E7B21 #218E44 #21358E
split-complementary
#8E216B #358E21 #218E7B
monochromatic
#2B0A20 #5C1546 #8E216B #C02D90 #D752AC

Accessibility & contrast

On white

8.14
#8E216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8E216B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E216B
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E216B#FFFFFF#000000##FFFFFF
##8E216B1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E446D
Deuteranopia (green-blind)
#4F5669
Tritanopia (blue-blind)
#982043
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e216b;
/* rgb */ color: rgb(142, 33, 107);
/* oklch */ color: oklch(45.1% 0.162 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36895',
    500: '#8e216b',
    950: '#000000',
  },
}
SCSS
$custom: #8e216b;
$custom-light: #b36895;
$custom-dark: #000000;
JSON
{
  "hex": "#8e216b",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 319.266,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.16249,
    "h": 344.1
  },
  "luminance": 0.079
}

Semantic roles & 50–950 ramp

primary
#8E216B
secondary
#50BA72
accent
#E57742
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E216B

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

Preview Lab → · Contrast checker → · Palette generator →

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