#8B226A#8B226A

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

Color values

HEX#8B226A
RGBrgb(139, 34, 106)
HSLhsl(319, 61%, 34%)
HSVhsv(319, 76%, 55%)
CMYKcmyk(0%, 75.5%, 23.7%, 45.5%)
CIE-LABlab(33.30, 50.44, -16.87)
CIE-LCHlch(33.30, 53.19, 341.51°)
OKLaboklab(44.6% 0.1521 -0.0451)
OKLCHoklch(44.6% 0.159 343.5)
XYZxyz(13.8215, 7.6751, 14.3864)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B226A #228B43
analogous
#78228B #8B226A #8B2236
triadic
#8B226A #6A8B22 #226A8B
tetradic
#8B226A #8B7822 #228B43 #22368B
square
#8B226A #8B7822 #228B43 #22368B
split-complementary
#8B226A #368B22 #228B78
monochromatic
#290A1F #5A1645 #8B226A #BC2E90 #D553AC

Accessibility & contrast

On white

8.28
#8B226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#8B226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B226A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B226A#FFFFFF#000000##FFFFFF
##8B226A1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D436C
Deuteranopia (green-blind)
#4E5568
Tritanopia (blue-blind)
#942243
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b226a;
/* rgb */ color: rgb(139, 34, 106);
/* oklch */ color: oklch(44.6% 0.159 343.5);
Tailwind
colors: {
  custom: {
    50: '#b16894',
    500: '#8b226a',
    950: '#000000',
  },
}
SCSS
$custom: #8b226a;
$custom-light: #b16894;
$custom-dark: #000000;
JSON
{
  "hex": "#8b226a",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 318.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44599,
    "c": 0.15865,
    "h": 343.5
  },
  "luminance": 0.07674
}

Semantic roles & 50–950 ramp

primary
#8B226A
secondary
#50B871
accent
#E47644
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B226A

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

Preview Lab → · Contrast checker → · Palette generator →

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