#8E2158#8E2158

#8E2158 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.152 H 354.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#8E2158
RGBrgb(142, 33, 88)
HSLhsl(330, 62%, 34%)
HSVhsv(330, 77%, 56%)
CMYKcmyk(0%, 76.8%, 38%, 44.3%)
CIE-LABlab(33.02, 49.35, -5.66)
CIE-LCHlch(33.02, 49.68, 353.46°)
OKLaboklab(44.26% 0.1515 -0.0143)
OKLCHoklch(44.26% 0.152 354.6)
XYZxyz(13.4615, 7.5447, 9.9780)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2158 #218E57
analogous
#8E218E #8E2158 #8E2121
triadic
#8E2158 #588E21 #21588E
tetradic
#8E2158 #8E8E21 #218E57 #21218E
square
#8E2158 #8E8E21 #218E57 #21218E
split-complementary
#8E2158 #218E21 #218E8E
monochromatic
#2B0A1A #5C1539 #8E2158 #C02D77 #D75295

Accessibility & contrast

On white

8.37
#8E2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8E2158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2158
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2158#FFFFFF#000000##FFFFFF
##8E21581.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364159
Deuteranopia (green-blind)
#555556
Tritanopia (blue-blind)
#9A1539
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2158;
/* rgb */ color: rgb(142, 33, 88);
/* oklch */ color: oklch(44.3% 0.152 354.6);
Tailwind
colors: {
  custom: {
    50: '#b36787',
    500: '#8e2158',
    950: '#000000',
  },
}
SCSS
$custom: #8e2158;
$custom-light: #b36787;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2158",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 329.725,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44262,
    "c": 0.15218,
    "h": 354.6
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#8E2158
secondary
#50BA85
accent
#E59342
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2158

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

Preview Lab → · Contrast checker → · Palette generator →

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