#8D216F#8D216F

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

Color values

HEX#8D216F
RGBrgb(141, 33, 111)
HSLhsl(317, 62%, 34%)
HSVhsv(317, 77%, 55%)
CMYKcmyk(0%, 76.6%, 21.3%, 44.7%)
CIE-LABlab(33.77, 52.00, -19.29)
CIE-LCHlch(33.77, 55.46, 339.65°)
OKLaboklab(45.09% 0.156 -0.0519)
OKLCHoklch(45.09% 0.164 341.6)
XYZxyz(14.3981, 7.8996, 15.8024)
Luminance0.0790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D216F #218D3F
analogous
#75218D #8D216F #8D2139
triadic
#8D216F #6F8D21 #216F8D
tetradic
#8D216F #8D7521 #218D3F #21398D
square
#8D216F #8D7521 #218D3F #21398D
split-complementary
#8D216F #398D21 #218D75
monochromatic
#2A0A21 #5B1548 #8D216F #BF2D96 #D652B2

Accessibility & contrast

On white

8.14
#8D216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D216F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D216F#FFFFFF#000000##FFFFFF
##8D216F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d216f;
/* rgb */ color: rgb(141, 33, 111);
/* oklch */ color: oklch(45.1% 0.164 341.6);
Tailwind
colors: {
  custom: {
    50: '#b26898',
    500: '#8d216f',
    950: '#000000',
  },
}
SCSS
$custom: #8d216f;
$custom-light: #b26898;
$custom-dark: #000000;
JSON
{
  "hex": "#8d216f",
  "rgb": {
    "r": 141,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 316.667,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.45087,
    "c": 0.16439,
    "h": 341.6
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#8D216F
secondary
#50BA6D
accent
#E57043
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070D
muted
#807A7E

Preview Lab

Preview with #8D216F

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

Preview Lab → · Contrast checker → · Palette generator →

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