#8E2157#8E2157

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

Color values

HEX#8E2157
RGBrgb(142, 33, 87)
HSLhsl(330, 62%, 34%)
HSVhsv(330, 77%, 56%)
CMYKcmyk(0%, 76.8%, 38.7%, 44.3%)
CIE-LABlab(32.98, 49.24, -5.06)
CIE-LCHlch(32.98, 49.50, 354.13°)
OKLaboklab(44.22% 0.1512 -0.0127)
OKLCHoklch(44.22% 0.152 355.2)
XYZxyz(13.4204, 7.5283, 9.7614)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2157 #218E58
analogous
#8E218E #8E2157 #8E2121
triadic
#8E2157 #578E21 #21578E
tetradic
#8E2157 #8E8E21 #218E58 #21218E
square
#8E2157 #8E8E21 #218E58 #21218E
split-complementary
#8E2157 #218E21 #218E8E
monochromatic
#2B0A1A #5C1539 #8E2157 #C02D75 #D75294

Accessibility & contrast

On white

8.38
#8E2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2157
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2157#FFFFFF#000000##FFFFFF
##8E21571.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374158
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#9A1439
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2157;
/* rgb */ color: rgb(142, 33, 87);
/* oklch */ color: oklch(44.2% 0.152 355.2);
Tailwind
colors: {
  custom: {
    50: '#b46786',
    500: '#8e2157',
    950: '#000000',
  },
}
SCSS
$custom: #8e2157;
$custom-light: #b46786;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2157",
  "rgb": {
    "r": 142,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 330.275,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44224,
    "c": 0.15172,
    "h": 355.2
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#8E2157
secondary
#50BA86
accent
#E59542
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2157

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

Preview Lab → · Contrast checker → · Palette generator →

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