#8B226B#8B226B

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

Color values

HEX#8B226B
RGBrgb(139, 34, 107)
HSLhsl(318, 61%, 34%)
HSVhsv(318, 76%, 55%)
CMYKcmyk(0%, 75.5%, 23%, 45.5%)
CIE-LABlab(33.34, 50.58, -17.44)
CIE-LCHlch(33.34, 53.51, 340.98°)
OKLaboklab(44.65% 0.1523 -0.0467)
OKLCHoklch(44.65% 0.159 343)
XYZxyz(13.8738, 7.6960, 14.6619)
Luminance0.0770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B226B #228B42
analogous
#77228B #8B226B #8B2237
triadic
#8B226B #6B8B22 #226B8B
tetradic
#8B226B #8B7722 #228B42 #22378B
square
#8B226B #8B7722 #228B42 #22378B
split-complementary
#8B226B #378B22 #228B77
monochromatic
#290A1F #5A1645 #8B226B #BC2E91 #D553AD

Accessibility & contrast

On white

8.27
#8B226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#8B226B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B226B
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B226B#FFFFFF#000000##FFFFFF
##8B226B1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b226b;
/* rgb */ color: rgb(139, 34, 107);
/* oklch */ color: oklch(44.6% 0.159 343.0);
Tailwind
colors: {
  custom: {
    50: '#b16895',
    500: '#8b226b',
    950: '#000000',
  },
}
SCSS
$custom: #8b226b;
$custom-light: #b16895;
$custom-dark: #000000;
JSON
{
  "hex": "#8b226b",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 318.286,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44646,
    "c": 0.15929,
    "h": 343
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#8B226B
secondary
#50B870
accent
#E47544
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B226B

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

Preview Lab → · Contrast checker → · Palette generator →

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