#8E2161#8E2161

#8E2161 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.157 H 349.5°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E2161
RGBrgb(142, 33, 97)
HSLhsl(325, 62%, 34%)
HSVhsv(325, 77%, 56%)
CMYKcmyk(0%, 76.8%, 31.7%, 44.3%)
CIE-LABlab(33.36, 50.41, -10.96)
CIE-LCHlch(33.36, 51.59, 347.73°)
OKLaboklab(44.62% 0.154 -0.0287)
OKLCHoklch(44.62% 0.157 349.5)
XYZxyz(13.8576, 7.7032, 12.0640)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2161 #218E4E
analogous
#85218E #8E2161 #8E212A
triadic
#8E2161 #618E21 #21618E
tetradic
#8E2161 #8E8521 #218E4E #212A8E
square
#8E2161 #8E8521 #218E4E #212A8E
split-complementary
#8E2161 #2A8E21 #218E85
monochromatic
#2B0A1D #5C153F #8E2161 #C02D83 #D752A0

Accessibility & contrast

On white

8.27
#8E2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2161
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2161#FFFFFF#000000##FFFFFF
##8E21611.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334263
Deuteranopia (green-blind)
#52555F
Tritanopia (blue-blind)
#991A3E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2161;
/* rgb */ color: rgb(142, 33, 97);
/* oklch */ color: oklch(44.6% 0.157 349.5);
Tailwind
colors: {
  custom: {
    50: '#b3688e',
    500: '#8e2161',
    950: '#000000',
  },
}
SCSS
$custom: #8e2161;
$custom-light: #b3688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2161",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 324.771,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44623,
    "c": 0.15666,
    "h": 349.5
  },
  "luminance": 0.07702
}

Semantic roles & 50–950 ramp

primary
#8E2161
secondary
#50BA7C
accent
#E58642
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2161

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

Preview Lab → · Contrast checker → · Palette generator →

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