#8B226E#8B226E

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

Color values

HEX#8B226E
RGBrgb(139, 34, 110)
HSLhsl(317, 61%, 34%)
HSVhsv(317, 76%, 55%)
CMYKcmyk(0%, 75.5%, 20.9%, 45.5%)
CIE-LABlab(33.48, 51.01, -19.14)
CIE-LCHlch(33.48, 54.48, 339.43°)
OKLaboklab(44.79% 0.1528 -0.0515)
OKLCHoklch(44.79% 0.161 341.4)
XYZxyz(14.0344, 7.7602, 15.5076)
Luminance0.0776 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B226E #228B3F
analogous
#74228B #8B226E #8B223A
triadic
#8B226E #6E8B22 #226E8B
tetradic
#8B226E #8B7422 #228B3F #223A8B
square
#8B226E #8B7422 #228B3F #223A8B
split-complementary
#8B226E #3A8B22 #228B74
monochromatic
#290A20 #5A1647 #8B226E #BC2E95 #D553B1

Accessibility & contrast

On white

8.23
#8B226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8B226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B226E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B226E#FFFFFF#000000##FFFFFF
##8B226E1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4470
Deuteranopia (green-blind)
#4C556C
Tritanopia (blue-blind)
#942445
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b226e;
/* rgb */ color: rgb(139, 34, 110);
/* oklch */ color: oklch(44.8% 0.161 341.4);
Tailwind
colors: {
  custom: {
    50: '#b06897',
    500: '#8b226e',
    950: '#000000',
  },
}
SCSS
$custom: #8b226e;
$custom-light: #b06897;
$custom-dark: #000000;
JSON
{
  "hex": "#8b226e",
  "rgb": {
    "r": 139,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 316.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4479,
    "c": 0.16126,
    "h": 341.4
  },
  "luminance": 0.07759
}

Semantic roles & 50–950 ramp

primary
#8B226E
secondary
#50B86D
accent
#E47044
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8B226E

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

Preview Lab → · Contrast checker → · Palette generator →

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