#8E226D#8E226D

#8E226D is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 343.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8E226D
RGBrgb(142, 34, 109)
HSLhsl(318, 61%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 76.1%, 23.2%, 44.3%)
CIE-LABlab(33.98, 51.64, -17.68)
CIE-LCHlch(33.98, 54.59, 341.11°)
OKLaboklab(45.25% 0.1556 -0.0473)
OKLCHoklch(45.25% 0.163 343.1)
XYZxyz(14.4882, 8.0005, 15.2463)
Luminance0.0800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E226D #228E43
analogous
#79228E #8E226D #8E2237
triadic
#8E226D #6D8E22 #226D8E
tetradic
#8E226D #8E7922 #228E43 #22378E
square
#8E226D #8E7922 #228E43 #22378E
split-complementary
#8E226D #378E22 #228E79
monochromatic
#2B0A21 #5D1647 #8E226D #BF2E93 #D654AE

Accessibility & contrast

On white

8.08
#8E226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E226D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E226D#FFFFFF#000000##FFFFFF
##8E226D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D456F
Deuteranopia (green-blind)
#4F566B
Tritanopia (blue-blind)
#972245
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e226d;
/* rgb */ color: rgb(142, 34, 109);
/* oklch */ color: oklch(45.2% 0.163 343.1);
Tailwind
colors: {
  custom: {
    50: '#b36897',
    500: '#8e226d',
    950: '#000000',
  },
}
SCSS
$custom: #8e226d;
$custom-light: #b36897;
$custom-dark: #000000;
JSON
{
  "hex": "#8e226d",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 318.333,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.16263,
    "h": 343.1
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#8E226D
secondary
#52BA72
accent
#E47543
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E226D

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

Preview Lab → · Contrast checker → · Palette generator →

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