#8E2254#8E2254

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

Color values

HEX#8E2254
RGBrgb(142, 34, 84)
HSLhsl(332, 61%, 35%)
HSVhsv(332, 76%, 56%)
CMYKcmyk(0%, 76.1%, 40.8%, 44.3%)
CIE-LABlab(33.00, 48.57, -3.09)
CIE-LCHlch(33.00, 48.66, 356.36°)
OKLaboklab(44.2% 0.1491 -0.0075)
OKLCHoklch(44.2% 0.149 357.1)
XYZxyz(13.3285, 7.5366, 9.1386)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2254 #228E5C
analogous
#8E228A #8E2254 #8E2622
triadic
#8E2254 #548E22 #22548E
tetradic
#8E2254 #8A8E22 #228E5C #26228E
square
#8E2254 #8A8E22 #228E5C #26228E
split-complementary
#8E2254 #228E26 #228A8E
monochromatic
#2B0A1A #5D1637 #8E2254 #BF2E71 #D65490

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E2254#FFFFFF#000000##FFFFFF
##8E22541.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)
#384155
Deuteranopia (green-blind)
#565552
Tritanopia (blue-blind)
#9A1438
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2254;
/* rgb */ color: rgb(142, 34, 84);
/* oklch */ color: oklch(44.2% 0.149 357.1);
Tailwind
colors: {
  custom: {
    50: '#b46884',
    500: '#8e2254',
    950: '#000000',
  },
}
SCSS
$custom: #8e2254;
$custom-light: #b46884;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2254",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 332.222,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44204,
    "c": 0.14933,
    "h": 357.1
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#8E2254
secondary
#52BA8A
accent
#E49A43
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070A
muted
#817A7C

Preview Lab

Preview with #8E2254

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

Preview Lab → · Contrast checker → · Palette generator →

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