#8E215F#8E215F

#8E215F is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.5% C 0.156 H 350.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#8E215F
RGBrgb(142, 33, 95)
HSLhsl(326, 62%, 34%)
HSVhsv(326, 77%, 56%)
CMYKcmyk(0%, 76.8%, 33.1%, 44.3%)
CIE-LABlab(33.28, 50.17, -9.79)
CIE-LCHlch(33.28, 51.12, 348.96°)
OKLaboklab(44.54% 0.1535 -0.0255)
OKLCHoklch(44.54% 0.156 350.6)
XYZxyz(13.7655, 7.6663, 11.5791)
Luminance0.0766 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E215F #218E50
analogous
#87218E #8E215F #8E2128
triadic
#8E215F #5F8E21 #215F8E
tetradic
#8E215F #8E8721 #218E50 #21288E
square
#8E215F #8E8721 #218E50 #21288E
split-complementary
#8E215F #288E21 #218E87
monochromatic
#2B0A1D #5C153E #8E215F #C02D80 #D7529E

Accessibility & contrast

On white

8.29
#8E215F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8E215F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E215F
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E215F#FFFFFF#000000##FFFFFF
##8E215F1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#53555D
Tritanopia (blue-blind)
#99193D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e215f;
/* rgb */ color: rgb(142, 33, 95);
/* oklch */ color: oklch(44.5% 0.156 350.6);
Tailwind
colors: {
  custom: {
    50: '#b3688c',
    500: '#8e215f',
    950: '#000000',
  },
}
SCSS
$custom: #8e215f;
$custom-light: #b3688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e215f",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 95
  },
  "hsl": {
    "h": 325.872,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44539,
    "c": 0.15559,
    "h": 350.6
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#8E215F
secondary
#50BA7E
accent
#E58942
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E215F

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

Preview Lab → · Contrast checker → · Palette generator →

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