#8E2163#8E2163

#8E2163 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.7% C 0.158 H 348.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#8E2163
RGBrgb(142, 33, 99)
HSLhsl(324, 62%, 34%)
HSVhsv(324, 77%, 56%)
CMYKcmyk(0%, 76.8%, 30.3%, 44.3%)
CIE-LABlab(33.44, 50.66, -12.13)
CIE-LCHlch(33.44, 52.09, 346.54°)
OKLaboklab(44.71% 0.1545 -0.0319)
OKLCHoklch(44.71% 0.158 348.3)
XYZxyz(13.9520, 7.7409, 12.5614)
Luminance0.0774 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2163 #218E4C
analogous
#83218E #8E2163 #8E212C
triadic
#8E2163 #638E21 #21638E
tetradic
#8E2163 #8E8321 #218E4C #212C8E
square
#8E2163 #8E8321 #218E4C #212C8E
split-complementary
#8E2163 #2C8E21 #218E83
monochromatic
#2B0A1E #5C1540 #8E2163 #C02D86 #D752A3

Accessibility & contrast

On white

8.24
#8E2163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2163
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2163#FFFFFF#000000##FFFFFF
##8E21631.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324365
Deuteranopia (green-blind)
#525561
Tritanopia (blue-blind)
#981C3F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2163;
/* rgb */ color: rgb(142, 33, 99);
/* oklch */ color: oklch(44.7% 0.158 348.3);
Tailwind
colors: {
  custom: {
    50: '#b3688f',
    500: '#8e2163',
    950: '#000000',
  },
}
SCSS
$custom: #8e2163;
$custom-light: #b3688f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2163",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 323.67,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44708,
    "c": 0.15776,
    "h": 348.3
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#8E2163
secondary
#50BA7A
accent
#E58342
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2163

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

Preview Lab → · Contrast checker → · Palette generator →

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