#8E226B#8E226B

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

Color values

HEX#8E226B
RGBrgb(142, 34, 107)
HSLhsl(319, 61%, 35%)
HSVhsv(319, 76%, 56%)
CMYKcmyk(0%, 76.1%, 24.6%, 44.3%)
CIE-LABlab(33.90, 51.37, -16.54)
CIE-LCHlch(33.90, 53.97, 342.15°)
OKLaboklab(45.15% 0.1552 -0.0441)
OKLCHoklch(45.15% 0.161 344.1)
XYZxyz(14.3818, 7.9579, 14.6857)
Luminance0.0796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E226B #228E45
analogous
#7B228E #8E226B #8E2235
triadic
#8E226B #6B8E22 #226B8E
tetradic
#8E226B #8E7B22 #228E45 #22358E
square
#8E226B #8E7B22 #228E45 #22358E
split-complementary
#8E226B #358E22 #228E7B
monochromatic
#2B0A21 #5D1646 #8E226B #BF2E90 #D654AC

Accessibility & contrast

On white

8.10
#8E226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E226B
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E226B#FFFFFF#000000##FFFFFF
##8E226B1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446D
Deuteranopia (green-blind)
#505669
Tritanopia (blue-blind)
#982144
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e226b;
/* rgb */ color: rgb(142, 34, 107);
/* oklch */ color: oklch(45.2% 0.161 344.1);
Tailwind
colors: {
  custom: {
    50: '#b36895',
    500: '#8e226b',
    950: '#000000',
  },
}
SCSS
$custom: #8e226b;
$custom-light: #b36895;
$custom-dark: #000000;
JSON
{
  "hex": "#8e226b",
  "rgb": {
    "r": 142,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 319.444,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.16136,
    "h": 344.1
  },
  "luminance": 0.07956
}

Semantic roles & 50–950 ramp

primary
#8E226B
secondary
#52BA74
accent
#E47843
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8E226B

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

Preview Lab → · Contrast checker → · Palette generator →

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