#8E214E#8E214E

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

Color values

HEX#8E214E
RGBrgb(142, 33, 78)
HSLhsl(335, 62%, 34%)
HSVhsv(335, 77%, 56%)
CMYKcmyk(0%, 76.8%, 45.1%, 44.3%)
CIE-LABlab(32.68, 48.29, 0.36)
CIE-LCHlch(32.68, 48.29, 0.42°)
OKLaboklab(43.91% 0.1482 0.0015)
OKLCHoklch(43.91% 0.148 0.6)
XYZxyz(13.0753, 7.3903, 7.9442)
Luminance0.0739 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E214E #218E61
analogous
#8E2185 #8E214E #8E2A21
triadic
#8E214E #4E8E21 #214E8E
tetradic
#8E214E #858E21 #218E61 #2A218E
square
#8E214E #858E21 #218E61 #2A218E
split-complementary
#8E214E #218E2A #21858E
monochromatic
#2B0A17 #5C1533 #8E214E #C02D69 #D75289

Accessibility & contrast

On white

8.48
#8E214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#8E214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E214E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E214E#FFFFFF#000000##FFFFFF
##8E214E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39404F
Deuteranopia (green-blind)
#57544B
Tritanopia (blue-blind)
#9A0D34
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e214e;
/* rgb */ color: rgb(142, 33, 78);
/* oklch */ color: oklch(43.9% 0.148 0.6);
Tailwind
colors: {
  custom: {
    50: '#b4677f',
    500: '#8e214e',
    950: '#000000',
  },
}
SCSS
$custom: #8e214e;
$custom-light: #b4677f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e214e",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 335.229,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.14821,
    "h": 0.6
  },
  "luminance": 0.07389
}

Semantic roles & 50–950 ramp

primary
#8E214E
secondary
#50BA8F
accent
#E5A242
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E214E

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

Preview Lab → · Contrast checker → · Palette generator →

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