#8E226E#8E226E

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

Color values

HEX#8E226E
RGBrgb(142, 34, 110)
HSLhsl(318, 61%, 35%)
HSVhsv(318, 76%, 56%)
CMYKcmyk(0%, 76.1%, 22.5%, 44.3%)
CIE-LABlab(34.03, 51.78, -18.24)
CIE-LCHlch(34.03, 54.90, 340.59°)
OKLaboklab(45.29% 0.1558 -0.0489)
OKLCHoklch(45.29% 0.163 342.6)
XYZxyz(14.5423, 8.0221, 15.5314)
Luminance0.0802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E226E #228E42
analogous
#78228E #8E226E #8E2238
triadic
#8E226E #6E8E22 #226E8E
tetradic
#8E226E #8E7822 #228E42 #22388E
square
#8E226E #8E7822 #228E42 #22388E
split-complementary
#8E226E #388E22 #228E78
monochromatic
#2B0A22 #5D1648 #8E226E #BF2E94 #D654B0

Accessibility & contrast

On white

8.06
#8E226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E226E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E226E#FFFFFF#000000##FFFFFF
##8E226E1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4570
Deuteranopia (green-blind)
#4F566C
Tritanopia (blue-blind)
#972345
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e226e;
/* rgb */ color: rgb(142, 34, 110);
/* oklch */ color: oklch(45.3% 0.163 342.6);
Tailwind
colors: {
  custom: {
    50: '#b36997',
    500: '#8e226e',
    950: '#000000',
  },
}
SCSS
$custom: #8e226e;
$custom-light: #b36997;
$custom-dark: #000000;
JSON
{
  "hex": "#8e226e",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 317.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45292,
    "c": 0.16327,
    "h": 342.6
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#8E226E
secondary
#52BA71
accent
#E47343
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E226E

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

Preview Lab → · Contrast checker → · Palette generator →

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