#8E214D#8E214D

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

Color values

HEX#8E214D
RGBrgb(142, 33, 77)
HSLhsl(336, 62%, 34%)
HSVhsv(336, 77%, 56%)
CMYKcmyk(0%, 76.8%, 45.8%, 44.3%)
CIE-LABlab(32.65, 48.19, 0.97)
CIE-LCHlch(32.65, 48.20, 1.15°)
OKLaboklab(43.87% 0.1478 0.003)
OKLCHoklch(43.87% 0.148 1.2)
XYZxyz(13.0398, 7.3760, 7.7568)
Luminance0.0737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E214D #218E62
analogous
#8E2184 #8E214D #8E2C21
triadic
#8E214D #4D8E21 #214D8E
tetradic
#8E214D #848E21 #218E62 #2C218E
square
#8E214D #848E21 #218E62 #2C218E
split-complementary
#8E214D #218E2C #21848E
monochromatic
#2B0A17 #5C1532 #8E214D #C02D68 #D75288

Accessibility & contrast

On white

8.49
#8E214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E214D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E214D#FFFFFF#000000##FFFFFF
##8E214D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4E
Deuteranopia (green-blind)
#57544A
Tritanopia (blue-blind)
#9A0D34
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e214d;
/* rgb */ color: rgb(142, 33, 77);
/* oklch */ color: oklch(43.9% 0.148 1.2);
Tailwind
colors: {
  custom: {
    50: '#b4677e',
    500: '#8e214d',
    950: '#000000',
  },
}
SCSS
$custom: #8e214d;
$custom-light: #b4677e;
$custom-dark: #000000;
JSON
{
  "hex": "#8e214d",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 335.78,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43872,
    "c": 0.14787,
    "h": 1.2
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#8E214D
secondary
#50BA90
accent
#E5A442
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E214D

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

Preview Lab → · Contrast checker → · Palette generator →

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