#8E226A#8E226A

#8E226A is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.161 H 344.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8E226A
RGBrgb(142, 34, 106)
HSLhsl(320, 61%, 35%)
HSVhsv(320, 76%, 56%)
CMYKcmyk(0%, 76.1%, 25.4%, 44.3%)
CIE-LABlab(33.85, 51.24, -15.97)
CIE-LCHlch(33.85, 53.67, 342.69°)
OKLaboklab(45.11% 0.155 -0.0425)
OKLCHoklch(45.11% 0.161 344.7)
XYZxyz(14.3295, 7.9370, 14.4102)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E226A #228E46
analogous
#7C228E #8E226A #8E2234
triadic
#8E226A #6A8E22 #226A8E
tetradic
#8E226A #8E7C22 #228E46 #22348E
square
#8E226A #8E7C22 #228E46 #22348E
split-complementary
#8E226A #348E22 #228E7C
monochromatic
#2B0A20 #5D1645 #8E226A #BF2E8F #D654AB

Accessibility & contrast

On white

8.12
#8E226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8E226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E226A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E226A#FFFFFF#000000##FFFFFF
##8E226A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#505668
Tritanopia (blue-blind)
#982143
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e226a;
/* rgb */ color: rgb(142, 34, 106);
/* oklch */ color: oklch(45.1% 0.161 344.7);
Tailwind
colors: {
  custom: {
    50: '#b36894',
    500: '#8e226a',
    950: '#000000',
  },
}
SCSS
$custom: #8e226a;
$custom-light: #b36894;
$custom-dark: #000000;
JSON
{
  "hex": "#8e226a",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 320,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45105,
    "c": 0.16074,
    "h": 344.7
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#8E226A
secondary
#52BA75
accent
#E47943
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E226A

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

Preview Lab → · Contrast checker → · Palette generator →

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