#8D226C#8D226C

#8D226C is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.0% C 0.161 H 343.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8D226C
RGBrgb(141, 34, 108)
HSLhsl(319, 61%, 34%)
HSVhsv(319, 76%, 55%)
CMYKcmyk(0%, 75.9%, 23.4%, 44.7%)
CIE-LABlab(33.75, 51.25, -17.41)
CIE-LCHlch(33.75, 54.12, 341.24°)
OKLaboklab(45.03% 0.1544 -0.0466)
OKLCHoklch(45.03% 0.161 343.2)
XYZxyz(14.2638, 7.8910, 14.9564)
Luminance0.0789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226C #228D43
analogous
#79228D #8D226C #8D2236
triadic
#8D226C #6C8D22 #226C8D
tetradic
#8D226C #8D7922 #228D43 #22368D
square
#8D226C #8D7922 #228D43 #22368D
split-complementary
#8D226C #368D22 #228D79
monochromatic
#2A0A20 #5C1646 #8D226C #BE2E92 #D654AE

Accessibility & contrast

On white

8.15
#8D226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8D226C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D226C
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226C#FFFFFF#000000##FFFFFF
##8D226C1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446E
Deuteranopia (green-blind)
#4F566A
Tritanopia (blue-blind)
#962244
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d226c;
/* rgb */ color: rgb(141, 34, 108);
/* oklch */ color: oklch(45.0% 0.161 343.2);
Tailwind
colors: {
  custom: {
    50: '#b26896',
    500: '#8d226c',
    950: '#000000',
  },
}
SCSS
$custom: #8d226c;
$custom-light: #b26896;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226c",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 318.505,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4503,
    "c": 0.1613,
    "h": 343.2
  },
  "luminance": 0.07889
}

Semantic roles & 50–950 ramp

primary
#8D226C
secondary
#51B971
accent
#E47544
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D226C

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

Preview Lab → · Contrast checker → · Palette generator →

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