#8D337B#8D337B

#8D337B is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.5% C 0.149 H 336.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8D337B
RGBrgb(141, 51, 123)
HSLhsl(312, 47%, 38%)
HSVhsv(312, 64%, 55%)
CMYKcmyk(0%, 63.8%, 12.8%, 44.7%)
CIE-LABlab(36.86, 46.76, -22.04)
CIE-LCHlch(36.86, 51.69, 334.76°)
OKLaboklab(47.52% 0.1367 -0.0598)
OKLCHoklch(47.52% 0.149 336.4)
XYZxyz(15.7437, 9.4617, 19.7322)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D337B #338D45
analogous
#72338D #8D337B #8D334E
triadic
#8D337B #7B8D33 #337B8D
tetradic
#8D337B #8D7233 #338D45 #334E8D
square
#8D337B #8D7233 #338D45 #334E8D
split-complementary
#8D337B #4E8D33 #338D72
monochromatic
#33122D #602354 #8D337B #BA43A2 #CB6FB9

Accessibility & contrast

On white

7.26
#8D337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8D337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D337B
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D337B#FFFFFF#000000##FFFFFF
##8D337B1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7D
Deuteranopia (green-blind)
#505C79
Tritanopia (blue-blind)
#943852
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d337b;
/* rgb */ color: rgb(141, 51, 123);
/* oklch */ color: oklch(47.5% 0.149 336.4);
Tailwind
colors: {
  custom: {
    50: '#b171a1',
    500: '#8d337b',
    950: '#000000',
  },
}
SCSS
$custom: #8d337b;
$custom-light: #b171a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d337b",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 312,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.14926,
    "h": 336.4
  },
  "luminance": 0.0946
}

Semantic roles & 50–950 ramp

primary
#8D337B
secondary
#69B378
accent
#D76C51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080F
muted
#807B7E

Preview Lab

Preview with #8D337B

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

Preview Lab → · Contrast checker → · Palette generator →

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