#8D226F#8D226F

#8D226F is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.163 H 341.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8D226F
RGBrgb(141, 34, 111)
HSLhsl(317, 61%, 34%)
HSVhsv(317, 76%, 55%)
CMYKcmyk(0%, 75.9%, 21.3%, 44.7%)
CIE-LABlab(33.89, 51.66, -19.11)
CIE-LCHlch(33.89, 55.08, 339.71°)
OKLaboklab(45.17% 0.155 -0.0514)
OKLCHoklch(45.17% 0.163 341.7)
XYZxyz(14.4262, 7.9559, 15.8117)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226F #228D40
analogous
#76228D #8D226F #8D223A
triadic
#8D226F #6F8D22 #226F8D
tetradic
#8D226F #8D7622 #228D40 #223A8D
square
#8D226F #8D7622 #228D40 #223A8D
split-complementary
#8D226F #3A8D22 #228D76
monochromatic
#2A0A21 #5C1648 #8D226F #BE2E96 #D654B1

Accessibility & contrast

On white

8.11
#8D226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D226F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226F#FFFFFF#000000##FFFFFF
##8D226F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4571
Deuteranopia (green-blind)
#4E566D
Tritanopia (blue-blind)
#962446
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8d226f;
/* rgb */ color: rgb(141, 34, 111);
/* oklch */ color: oklch(45.2% 0.163 341.7);
Tailwind
colors: {
  custom: {
    50: '#b26898',
    500: '#8d226f',
    950: '#000000',
  },
}
SCSS
$custom: #8d226f;
$custom-light: #b26898;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226f",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 316.822,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.16326,
    "h": 341.7
  },
  "luminance": 0.07954
}

Semantic roles & 50–950 ramp

primary
#8D226F
secondary
#51B96F
accent
#E47144
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D226F

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

Preview Lab → · Contrast checker → · Palette generator →

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