#8B226F#8B226F

#8B226F is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.8% C 0.162 H 340.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8B226F
RGBrgb(139, 34, 111)
HSLhsl(316, 61%, 34%)
HSVhsv(316, 76%, 55%)
CMYKcmyk(0%, 75.5%, 20.1%, 45.5%)
CIE-LABlab(33.52, 51.15, -19.70)
CIE-LCHlch(33.52, 54.81, 338.93°)
OKLaboklab(44.84% 0.153 -0.0531)
OKLCHoklch(44.84% 0.162 340.9)
XYZxyz(14.0892, 7.7821, 15.7959)
Luminance0.0778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B226F #228B3E
analogous
#73228B #8B226F #8B223B
triadic
#8B226F #6F8B22 #226F8B
tetradic
#8B226F #8B7322 #228B3E #223B8B
square
#8B226F #8B7322 #228B3E #223B8B
split-complementary
#8B226F #3B8B22 #228B73
monochromatic
#290A20 #5A1648 #8B226F #BC2E96 #D553B2

Accessibility & contrast

On white

8.22
#8B226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#8B226F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B226F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B226F#FFFFFF#000000##FFFFFF
##8B226F1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4471
Deuteranopia (green-blind)
#4C556D
Tritanopia (blue-blind)
#942546
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b226f;
/* rgb */ color: rgb(139, 34, 111);
/* oklch */ color: oklch(44.8% 0.162 340.9);
Tailwind
colors: {
  custom: {
    50: '#b06898',
    500: '#8b226f',
    950: '#000000',
  },
}
SCSS
$custom: #8b226f;
$custom-light: #b06898;
$custom-dark: #000000;
JSON
{
  "hex": "#8b226f",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 316,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44839,
    "c": 0.16192,
    "h": 340.9
  },
  "luminance": 0.07781
}

Semantic roles & 50–950 ramp

primary
#8B226F
secondary
#50B86C
accent
#E46F44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B226F

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

Preview Lab → · Contrast checker → · Palette generator →

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