#8D226A#8D226A

#8D226A is a dark, vivid pink. Relative luminance 0.078; OKLCH L 44.9% C 0.160 H 344.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8D226A
RGBrgb(141, 34, 106)
HSLhsl(320, 61%, 34%)
HSVhsv(320, 76%, 55%)
CMYKcmyk(0%, 75.9%, 24.8%, 44.7%)
CIE-LABlab(33.67, 50.97, -16.27)
CIE-LCHlch(33.67, 53.51, 342.30°)
OKLaboklab(44.94% 0.1541 -0.0434)
OKLCHoklch(44.94% 0.16 344.3)
XYZxyz(14.1586, 7.8489, 14.4022)
Luminance0.0785 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226A #228D45
analogous
#7B228D #8D226A #8D2235
triadic
#8D226A #6A8D22 #226A8D
tetradic
#8D226A #8D7B22 #228D45 #22358D
square
#8D226A #8D7B22 #228D45 #22358D
split-complementary
#8D226A #358D22 #228D7B
monochromatic
#2A0A20 #5C1645 #8D226A #BE2E8F #D654AB

Accessibility & contrast

On white

8.17
#8D226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8D226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D226A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226A#FFFFFF#000000##FFFFFF
##8D226A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#4F5668
Tritanopia (blue-blind)
#972143
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d226a;
/* rgb */ color: rgb(141, 34, 106);
/* oklch */ color: oklch(44.9% 0.160 344.3);
Tailwind
colors: {
  custom: {
    50: '#b26894',
    500: '#8d226a',
    950: '#000000',
  },
}
SCSS
$custom: #8d226a;
$custom-light: #b26894;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226a",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 319.626,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.16005,
    "h": 344.3
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#8D226A
secondary
#51B973
accent
#E47844
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D226A

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

Preview Lab → · Contrast checker → · Palette generator →

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