#8D226E#8D226E

#8D226E is a mid, vivid pink. Relative luminance 0.079; OKLCH L 45.1% C 0.163 H 342.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#8D226E
RGBrgb(141, 34, 110)
HSLhsl(317, 61%, 34%)
HSVhsv(317, 76%, 55%)
CMYKcmyk(0%, 75.9%, 22%, 44.7%)
CIE-LABlab(33.85, 51.52, -18.54)
CIE-LCHlch(33.85, 54.76, 340.21°)
OKLaboklab(45.13% 0.1548 -0.0498)
OKLCHoklch(45.13% 0.163 342.2)
XYZxyz(14.3715, 7.9340, 15.5234)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226E #228D41
analogous
#77228D #8D226E #8D2239
triadic
#8D226E #6E8D22 #226E8D
tetradic
#8D226E #8D7722 #228D41 #22398D
square
#8D226E #8D7722 #228D41 #22398D
split-complementary
#8D226E #398D22 #228D77
monochromatic
#2A0A21 #5C1648 #8D226E #BE2E94 #D654B0

Accessibility & contrast

On white

8.12
#8D226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8D226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D226E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226E#FFFFFF#000000##FFFFFF
##8D226E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4470
Deuteranopia (green-blind)
#4E566C
Tritanopia (blue-blind)
#962345
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d226e;
/* rgb */ color: rgb(141, 34, 110);
/* oklch */ color: oklch(45.1% 0.163 342.2);
Tailwind
colors: {
  custom: {
    50: '#b26897',
    500: '#8d226e',
    950: '#000000',
  },
}
SCSS
$custom: #8d226e;
$custom-light: #b26897;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226e",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 317.383,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.16259,
    "h": 342.2
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#8D226E
secondary
#51B970
accent
#E47244
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D226E

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

Preview Lab → · Contrast checker → · Palette generator →

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