#8D337E#8D337E

#8D337E is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.7% C 0.152 H 334.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8D337E
RGBrgb(141, 51, 126)
HSLhsl(310, 47%, 38%)
HSVhsv(310, 64%, 55%)
CMYKcmyk(0%, 63.8%, 10.6%, 44.7%)
CIE-LABlab(37.00, 47.25, -23.69)
CIE-LCHlch(37.00, 52.86, 333.37°)
OKLaboklab(47.67% 0.1372 -0.0645)
OKLCHoklch(47.67% 0.152 334.8)
XYZxyz(15.9343, 9.5380, 20.7364)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D337E #338D42
analogous
#6F338D #8D337E #8D3351
triadic
#8D337E #7E8D33 #337E8D
tetradic
#8D337E #8D6F33 #338D42 #33518D
square
#8D337E #8D6F33 #338D42 #33518D
split-complementary
#8D337E #518D33 #338D6F
monochromatic
#33122E #602356 #8D337E #BA43A6 #CB6FBC

Accessibility & contrast

On white

7.22
#8D337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8D337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D337E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D337E#FFFFFF#000000##FFFFFF
##8D337E1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#943953
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d337e;
/* rgb */ color: rgb(141, 51, 126);
/* oklch */ color: oklch(47.7% 0.152 334.8);
Tailwind
colors: {
  custom: {
    50: '#b171a3',
    500: '#8d337e',
    950: '#000000',
  },
}
SCSS
$custom: #8d337e;
$custom-light: #b171a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d337e",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 310,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.15163,
    "h": 334.8
  },
  "luminance": 0.09537
}

Semantic roles & 50–950 ramp

primary
#8D337E
secondary
#69B375
accent
#D76751
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D337E

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

Preview Lab → · Contrast checker → · Palette generator →

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