#8E214C#8E214C

#8E214C is a dark, vivid pink. Relative luminance 0.074; OKLCH L 43.8% C 0.148 H 1.8°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#8E214C
RGBrgb(142, 33, 76)
HSLhsl(336, 62%, 34%)
HSVhsv(336, 77%, 56%)
CMYKcmyk(0%, 76.8%, 46.5%, 44.3%)
CIE-LABlab(32.62, 48.09, 1.58)
CIE-LCHlch(32.62, 48.12, 1.88°)
OKLaboklab(43.84% 0.1475 0.0046)
OKLCHoklch(43.84% 0.148 1.8)
XYZxyz(13.0047, 7.3620, 7.5723)
Luminance0.0736 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E214C #218E63
analogous
#8E2183 #8E214C #8E2C21
triadic
#8E214C #4C8E21 #214C8E
tetradic
#8E214C #838E21 #218E63 #2C218E
square
#8E214C #838E21 #218E63 #2C218E
split-complementary
#8E214C #218E2C #21838E
monochromatic
#2B0A17 #5C1531 #8E214C #C02D67 #D75287

Accessibility & contrast

On white

8.50
#8E214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#8E214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E214C
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E214C#FFFFFF#000000##FFFFFF
##8E214C1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4D
Deuteranopia (green-blind)
#575449
Tritanopia (blue-blind)
#9B0C34
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e214c;
/* rgb */ color: rgb(142, 33, 76);
/* oklch */ color: oklch(43.8% 0.148 1.8);
Tailwind
colors: {
  custom: {
    50: '#b4677d',
    500: '#8e214c',
    950: '#000000',
  },
}
SCSS
$custom: #8e214c;
$custom-light: #b4677d;
$custom-dark: #000000;
JSON
{
  "hex": "#8e214c",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 336.33,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43839,
    "c": 0.14755,
    "h": 1.8
  },
  "luminance": 0.0736
}

Semantic roles & 50–950 ramp

primary
#8E214C
secondary
#50BA91
accent
#E5A542
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#120709
muted
#817A7B

Preview Lab

Preview with #8E214C

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

Preview Lab → · Contrast checker → · Palette generator →

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