#8E2162#8E2162

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

Color values

HEX#8E2162
RGBrgb(142, 33, 98)
HSLhsl(324, 62%, 34%)
HSVhsv(324, 77%, 56%)
CMYKcmyk(0%, 76.8%, 31%, 44.3%)
CIE-LABlab(33.40, 50.54, -11.54)
CIE-LCHlch(33.40, 51.84, 347.13°)
OKLaboklab(44.67% 0.1543 -0.0303)
OKLCHoklch(44.67% 0.157 348.9)
XYZxyz(13.9045, 7.7219, 12.3111)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2162 #218E4D
analogous
#84218E #8E2162 #8E212C
triadic
#8E2162 #628E21 #21628E
tetradic
#8E2162 #8E8421 #218E4D #212C8E
square
#8E2162 #8E8421 #218E4D #212C8E
split-complementary
#8E2162 #2C8E21 #218E84
monochromatic
#2B0A1D #5C1540 #8E2162 #C02D84 #D752A1

Accessibility & contrast

On white

8.25
#8E2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2162
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2162#FFFFFF#000000##FFFFFF
##8E21621.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324264
Deuteranopia (green-blind)
#525560
Tritanopia (blue-blind)
#991B3E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2162;
/* rgb */ color: rgb(142, 33, 98);
/* oklch */ color: oklch(44.7% 0.157 348.9);
Tailwind
colors: {
  custom: {
    50: '#b3688e',
    500: '#8e2162',
    950: '#000000',
  },
}
SCSS
$custom: #8e2162;
$custom-light: #b3688e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2162",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 324.22,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.1572,
    "h": 348.9
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#8E2162
secondary
#50BA7B
accent
#E58442
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E2162

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

Preview Lab → · Contrast checker → · Palette generator →

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