#8D226D#8D226D

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

Color values

HEX#8D226D
RGBrgb(141, 34, 109)
HSLhsl(318, 61%, 34%)
HSVhsv(318, 76%, 55%)
CMYKcmyk(0%, 75.9%, 22.7%, 44.7%)
CIE-LABlab(33.80, 51.38, -17.98)
CIE-LCHlch(33.80, 54.44, 340.72°)
OKLaboklab(45.08% 0.1546 -0.0482)
OKLCHoklch(45.08% 0.162 342.7)
XYZxyz(14.3174, 7.9124, 15.2383)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226D #228D42
analogous
#78228D #8D226D #8D2238
triadic
#8D226D #6D8D22 #226D8D
tetradic
#8D226D #8D7822 #228D42 #22388D
square
#8D226D #8D7822 #228D42 #22388D
split-complementary
#8D226D #388D22 #228D78
monochromatic
#2A0A21 #5C1647 #8D226D #BE2E93 #D654AF

Accessibility & contrast

On white

8.13
#8D226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D226D
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226D#FFFFFF#000000##FFFFFF
##8D226D1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#4E566B
Tritanopia (blue-blind)
#962345
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8d226d;
/* rgb */ color: rgb(141, 34, 109);
/* oklch */ color: oklch(45.1% 0.162 342.7);
Tailwind
colors: {
  custom: {
    50: '#b26897',
    500: '#8d226d',
    950: '#000000',
  },
}
SCSS
$custom: #8d226d;
$custom-light: #b26897;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226d",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 317.944,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45077,
    "c": 0.16195,
    "h": 342.7
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D226D

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

Preview Lab → · Contrast checker → · Palette generator →

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