#8E225F#8E225F

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

Color values

HEX#8E225F
RGBrgb(142, 34, 95)
HSLhsl(326, 61%, 35%)
HSVhsv(326, 76%, 56%)
CMYKcmyk(0%, 76.1%, 33.1%, 44.3%)
CIE-LABlab(33.40, 49.83, -9.61)
CIE-LCHlch(33.40, 50.75, 349.08°)
OKLaboklab(44.63% 0.1524 -0.025)
OKLCHoklch(44.63% 0.154 350.7)
XYZxyz(13.7937, 7.7227, 11.5885)
Luminance0.0772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E225F #228E51
analogous
#87228E #8E225F #8E2229
triadic
#8E225F #5F8E22 #225F8E
tetradic
#8E225F #8E8722 #228E51 #22298E
square
#8E225F #8E8722 #228E51 #22298E
split-complementary
#8E225F #298E22 #228E87
monochromatic
#2B0A1D #5D163E #8E225F #BF2E80 #D6549E

Accessibility & contrast

On white

8.25
#8E225F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E225F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E225F#FFFFFF#000000##FFFFFF
##8E225F1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344261
Deuteranopia (green-blind)
#53555D
Tritanopia (blue-blind)
#991A3D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e225f;
/* rgb */ color: rgb(142, 34, 95);
/* oklch */ color: oklch(44.6% 0.154 350.7);
Tailwind
colors: {
  custom: {
    50: '#b3688c',
    500: '#8e225f',
    950: '#000000',
  },
}
SCSS
$custom: #8e225f;
$custom-light: #b3688c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e225f",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 95
  },
  "hsl": {
    "h": 326.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.15446,
    "h": 350.7
  },
  "luminance": 0.07721
}

Semantic roles & 50–950 ramp

primary
#8E225F
secondary
#52BA7F
accent
#E48943
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D

Preview Lab

Preview with #8E225F

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

Preview Lab → · Contrast checker → · Palette generator →

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