#8E2054#8E2054

#8E2054 is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.0% C 0.152 H 356.8°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8E2054
RGBrgb(142, 32, 84)
HSLhsl(332, 63%, 34%)
HSVhsv(332, 77%, 56%)
CMYKcmyk(0%, 77.5%, 40.8%, 44.3%)
CIE-LABlab(32.76, 49.25, -3.44)
CIE-LCHlch(32.76, 49.37, 356.00°)
OKLaboklab(44.03% 0.1513 -0.0084)
OKLCHoklch(44.03% 0.152 356.8)
XYZxyz(13.2730, 7.4256, 9.1201)
Luminance0.0742 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2054 #208E5A
analogous
#8E208B #8E2054 #8E2320
triadic
#8E2054 #548E20 #20548E
tetradic
#8E2054 #8B8E20 #208E5A #23208E
square
#8E2054 #8B8E20 #208E5A #23208E
split-complementary
#8E2054 #208E23 #208B8E
monochromatic
#2A0919 #5C1536 #8E2054 #C02B72 #D85191

Accessibility & contrast

On white

8.45
#8E2054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2054
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2054#FFFFFF#000000##FFFFFF
##8E20541.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374055
Deuteranopia (green-blind)
#555451
Tritanopia (blue-blind)
#9A1037
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8e2054;
/* rgb */ color: rgb(142, 32, 84);
/* oklch */ color: oklch(44.0% 0.152 356.8);
Tailwind
colors: {
  custom: {
    50: '#b46784',
    500: '#8e2054',
    950: '#000000',
  },
}
SCSS
$custom: #8e2054;
$custom-light: #b46784;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2054",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 84
  },
  "hsl": {
    "h": 331.636,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.15154,
    "h": 356.8
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#8E2054
secondary
#4FBB88
accent
#E69842
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2054

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

Preview Lab → · Contrast checker → · Palette generator →

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