#8E2164#8E2164

#8E2164 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.158 H 347.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#8E2164
RGBrgb(142, 33, 100)
HSLhsl(323, 62%, 34%)
HSVhsv(323, 77%, 56%)
CMYKcmyk(0%, 76.8%, 29.6%, 44.3%)
CIE-LABlab(33.48, 50.79, -12.70)
CIE-LCHlch(33.48, 52.35, 345.96°)
OKLaboklab(44.75% 0.1547 -0.0335)
OKLCHoklch(44.75% 0.158 347.8)
XYZxyz(14.0001, 7.7602, 12.8147)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2164 #218E4B
analogous
#82218E #8E2164 #8E212E
triadic
#8E2164 #648E21 #21648E
tetradic
#8E2164 #8E8221 #218E4B #212E8E
square
#8E2164 #8E8221 #218E4B #212E8E
split-complementary
#8E2164 #2E8E21 #218E82
monochromatic
#2B0A1E #5C1541 #8E2164 #C02D87 #D752A4

Accessibility & contrast

On white

8.23
#8E2164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E2164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2164
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2164#FFFFFF#000000##FFFFFF
##8E21641.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314366
Deuteranopia (green-blind)
#525662
Tritanopia (blue-blind)
#981C40
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2164;
/* rgb */ color: rgb(142, 33, 100);
/* oklch */ color: oklch(44.8% 0.158 347.8);
Tailwind
colors: {
  custom: {
    50: '#b36890',
    500: '#8e2164',
    950: '#000000',
  },
}
SCSS
$custom: #8e2164;
$custom-light: #b36890;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2164",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 100
  },
  "hsl": {
    "h": 323.119,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.15832,
    "h": 347.8
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#8E2164
secondary
#50BA79
accent
#E58142
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2164

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

Preview Lab → · Contrast checker → · Palette generator →

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