#8E2256#8E2256

#8E2256 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.3% C 0.150 H 355.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8E2256
RGBrgb(142, 34, 86)
HSLhsl(331, 61%, 35%)
HSVhsv(331, 76%, 56%)
CMYKcmyk(0%, 76.1%, 39.4%, 44.3%)
CIE-LABlab(33.07, 48.79, -4.28)
CIE-LCHlch(33.07, 48.97, 354.98°)
OKLaboklab(44.28% 0.1498 -0.0107)
OKLCHoklch(44.28% 0.15 355.9)
XYZxyz(13.4080, 7.5684, 9.5571)
Luminance0.0757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2256 #228E5A
analogous
#8E228C #8E2256 #8E2422
triadic
#8E2256 #568E22 #22568E
tetradic
#8E2256 #8C8E22 #228E5A #24228E
square
#8E2256 #8C8E22 #228E5A #24228E
split-complementary
#8E2256 #228E24 #228C8E
monochromatic
#2B0A1A #5D1638 #8E2256 #BF2E74 #D65493

Accessibility & contrast

On white

8.36
#8E2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2256
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2256#FFFFFF#000000##FFFFFF
##8E22561.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384157
Deuteranopia (green-blind)
#555554
Tritanopia (blue-blind)
#9A1539
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2256;
/* rgb */ color: rgb(142, 34, 86);
/* oklch */ color: oklch(44.3% 0.150 355.9);
Tailwind
colors: {
  custom: {
    50: '#b46885',
    500: '#8e2256',
    950: '#000000',
  },
}
SCSS
$custom: #8e2256;
$custom-light: #b46885;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2256",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 331.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44277,
    "c": 0.15016,
    "h": 355.9
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#8E2256
secondary
#52BA88
accent
#E49743
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2256

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

Preview Lab → · Contrast checker → · Palette generator →

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