#8E225E#8E225E

#8E225E is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.154 H 351.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#8E225E
RGBrgb(142, 34, 94)
HSLhsl(327, 61%, 35%)
HSVhsv(327, 76%, 56%)
CMYKcmyk(0%, 76.1%, 33.8%, 44.3%)
CIE-LABlab(33.36, 49.71, -9.02)
CIE-LCHlch(33.36, 50.52, 349.71°)
OKLaboklab(44.59% 0.1522 -0.0234)
OKLCHoklch(44.59% 0.154 351.3)
XYZxyz(13.7485, 7.7046, 11.3506)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E225E #228E52
analogous
#88228E #8E225E #8E2228
triadic
#8E225E #5E8E22 #225E8E
tetradic
#8E225E #8E8822 #228E52 #22288E
square
#8E225E #8E8822 #228E52 #22288E
split-complementary
#8E225E #288E22 #228E88
monochromatic
#2B0A1D #5D163D #8E225E #BF2E7F #D6549C

Accessibility & contrast

On white

8.27
#8E225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8E225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E225E
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E225E#FFFFFF#000000##FFFFFF
##8E225E1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354260
Deuteranopia (green-blind)
#54555C
Tritanopia (blue-blind)
#991A3D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8e225e;
/* rgb */ color: rgb(142, 34, 94);
/* oklch */ color: oklch(44.6% 0.154 351.3);
Tailwind
colors: {
  custom: {
    50: '#b3688b',
    500: '#8e225e',
    950: '#000000',
  },
}
SCSS
$custom: #8e225e;
$custom-light: #b3688b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e225e",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 326.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44587,
    "c": 0.15394,
    "h": 351.3
  },
  "luminance": 0.07703
}

Semantic roles & 50–950 ramp

primary
#8E225E
secondary
#52BA80
accent
#E48B43
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E225E

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

Preview Lab → · Contrast checker → · Palette generator →

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