#8D226B#8D226B

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

Color values

HEX#8D226B
RGBrgb(141, 34, 107)
HSLhsl(319, 61%, 34%)
HSVhsv(319, 76%, 55%)
CMYKcmyk(0%, 75.9%, 24.1%, 44.7%)
CIE-LABlab(33.71, 51.11, -16.84)
CIE-LCHlch(33.71, 53.81, 341.76°)
OKLaboklab(44.98% 0.1542 -0.045)
OKLCHoklch(44.98% 0.161 343.7)
XYZxyz(14.2109, 7.8698, 14.6777)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D226B #228D44
analogous
#7A228D #8D226B #8D2236
triadic
#8D226B #6B8D22 #226B8D
tetradic
#8D226B #8D7A22 #228D44 #22368D
square
#8D226B #8D7A22 #228D44 #22368D
split-complementary
#8D226B #368D22 #228D7A
monochromatic
#2A0A20 #5C1646 #8D226B #BE2E90 #D654AC

Accessibility & contrast

On white

8.16
#8D226B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D226B
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D226B#FFFFFF#000000##FFFFFF
##8D226B1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d226b;
/* rgb */ color: rgb(141, 34, 107);
/* oklch */ color: oklch(45.0% 0.161 343.7);
Tailwind
colors: {
  custom: {
    50: '#b26895',
    500: '#8d226b',
    950: '#000000',
  },
}
SCSS
$custom: #8d226b;
$custom-light: #b26895;
$custom-dark: #000000;
JSON
{
  "hex": "#8d226b",
  "rgb": {
    "r": 141,
    "g": 34,
    "b": 107
  },
  "hsl": {
    "h": 319.065,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44983,
    "c": 0.16067,
    "h": 343.7
  },
  "luminance": 0.07868
}

Semantic roles & 50–950 ramp

primary
#8D226B
secondary
#51B972
accent
#E47744
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D226B

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

Preview Lab → · Contrast checker → · Palette generator →

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