#8E2057#8E2057

#8E2057 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.153 H 355.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8E2057
RGBrgb(142, 32, 87)
HSLhsl(330, 63%, 34%)
HSVhsv(330, 77%, 56%)
CMYKcmyk(0%, 77.5%, 38.7%, 44.3%)
CIE-LABlab(32.86, 49.58, -5.24)
CIE-LCHlch(32.86, 49.85, 353.97°)
OKLaboklab(44.14% 0.1523 -0.0132)
OKLCHoklch(44.14% 0.153 355)
XYZxyz(13.3930, 7.4736, 9.7522)
Luminance0.0747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2057 #208E57
analogous
#8E208E #8E2057 #8E2020
triadic
#8E2057 #578E20 #20578E
tetradic
#8E2057 #8E8E20 #208E57 #20208E
square
#8E2057 #8E8E20 #208E57 #20208E
split-complementary
#8E2057 #208E20 #208E8E
monochromatic
#2A091A #5C1538 #8E2057 #C02B76 #D85194

Accessibility & contrast

On white

8.42
#8E2057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#8E2057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2057
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2057#FFFFFF#000000##FFFFFF
##8E20571.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364058
Deuteranopia (green-blind)
#555555
Tritanopia (blue-blind)
#9A1339
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2057;
/* rgb */ color: rgb(142, 32, 87);
/* oklch */ color: oklch(44.1% 0.153 355.0);
Tailwind
colors: {
  custom: {
    50: '#b46786',
    500: '#8e2057',
    950: '#000000',
  },
}
SCSS
$custom: #8e2057;
$custom-light: #b46786;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2057",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 87
  },
  "hsl": {
    "h": 330,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44137,
    "c": 0.15283,
    "h": 355
  },
  "luminance": 0.07472
}

Semantic roles & 50–950 ramp

primary
#8E2057
secondary
#4FBB85
accent
#E69442
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2057

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

Preview Lab → · Contrast checker → · Palette generator →

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