#8E2255#8E2255

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

Color values

HEX#8E2255
RGBrgb(142, 34, 85)
HSLhsl(332, 61%, 35%)
HSVhsv(332, 76%, 56%)
CMYKcmyk(0%, 76.1%, 40.1%, 44.3%)
CIE-LABlab(33.03, 48.68, -3.69)
CIE-LCHlch(33.03, 48.81, 355.67°)
OKLaboklab(44.24% 0.1495 -0.0091)
OKLCHoklch(44.24% 0.15 356.5)
XYZxyz(13.3680, 7.5524, 9.3464)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2255 #228E5B
analogous
#8E228B #8E2255 #8E2522
triadic
#8E2255 #558E22 #22558E
tetradic
#8E2255 #8B8E22 #228E5B #25228E
square
#8E2255 #8B8E22 #228E5B #25228E
split-complementary
#8E2255 #228E25 #228B8E
monochromatic
#2B0A1A #5D1637 #8E2255 #BF2E73 #D65492

Accessibility & contrast

On white

8.37
#8E2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E2255
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2255#FFFFFF#000000##FFFFFF
##8E22551.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384156
Deuteranopia (green-blind)
#565553
Tritanopia (blue-blind)
#9A1438
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e2255;
/* rgb */ color: rgb(142, 34, 85);
/* oklch */ color: oklch(44.2% 0.150 356.5);
Tailwind
colors: {
  custom: {
    50: '#b46884',
    500: '#8e2255',
    950: '#000000',
  },
}
SCSS
$custom: #8e2255;
$custom-light: #b46884;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2255",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 331.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.14974,
    "h": 356.5
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#8E2255
secondary
#52BA89
accent
#E49843
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #8E2255

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

Preview Lab → · Contrast checker → · Palette generator →

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