#8E2167#8E2167

#8E2167 is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.160 H 346.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#8E2167
RGBrgb(142, 33, 103)
HSLhsl(321, 62%, 34%)
HSVhsv(321, 77%, 56%)
CMYKcmyk(0%, 76.8%, 27.5%, 44.3%)
CIE-LABlab(33.60, 51.18, -14.44)
CIE-LCHlch(33.60, 53.17, 344.25°)
OKLaboklab(44.88% 0.1554 -0.0383)
OKLCHoklch(44.88% 0.16 346.2)
XYZxyz(14.1480, 7.8193, 13.5935)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2167 #218E48
analogous
#7F218E #8E2167 #8E2131
triadic
#8E2167 #678E21 #21678E
tetradic
#8E2167 #8E7F21 #218E48 #21318E
square
#8E2167 #8E7F21 #218E48 #21318E
split-complementary
#8E2167 #318E21 #218E7F
monochromatic
#2B0A1F #5C1543 #8E2167 #C02D8B #D752A8

Accessibility & contrast

On white

8.19
#8E2167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8E2167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2167
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2167#FFFFFF#000000##FFFFFF
##8E21671.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304369
Deuteranopia (green-blind)
#515665
Tritanopia (blue-blind)
#981E41
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e2167;
/* rgb */ color: rgb(142, 33, 103);
/* oklch */ color: oklch(44.9% 0.160 346.2);
Tailwind
colors: {
  custom: {
    50: '#b36892',
    500: '#8e2167',
    950: '#000000',
  },
}
SCSS
$custom: #8e2167;
$custom-light: #b36892;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2167",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 103
  },
  "hsl": {
    "h": 321.468,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44883,
    "c": 0.16006,
    "h": 346.2
  },
  "luminance": 0.07818
}

Semantic roles & 50–950 ramp

primary
#8E2167
secondary
#50BA76
accent
#E57D42
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E2167

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

Preview Lab → · Contrast checker → · Palette generator →

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