#8D337C#8D337C

#8D337C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 47.6% C 0.150 H 335.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8D337C
RGBrgb(141, 51, 124)
HSLhsl(311, 47%, 38%)
HSVhsv(311, 64%, 55%)
CMYKcmyk(0%, 63.8%, 12.1%, 44.7%)
CIE-LABlab(36.91, 46.92, -22.59)
CIE-LCHlch(36.91, 52.08, 334.29°)
OKLaboklab(47.57% 0.1369 -0.0614)
OKLCHoklch(47.57% 0.15 335.8)
XYZxyz(15.8066, 9.4869, 20.0635)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D337C #338D44
analogous
#71338D #8D337C #8D334F
triadic
#8D337C #7C8D33 #337C8D
tetradic
#8D337C #8D7133 #338D44 #334F8D
square
#8D337C #8D7133 #338D44 #334F8D
split-complementary
#8D337C #4F8D33 #338D71
monochromatic
#33122D #602354 #8D337C #BA43A4 #CB6FBA

Accessibility & contrast

On white

7.25
#8D337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8D337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D337C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D337C#FFFFFF#000000##FFFFFF
##8D337C1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d337c;
/* rgb */ color: rgb(141, 51, 124);
/* oklch */ color: oklch(47.6% 0.150 335.8);
Tailwind
colors: {
  custom: {
    50: '#b171a2',
    500: '#8d337c',
    950: '#000000',
  },
}
SCSS
$custom: #8d337c;
$custom-light: #b171a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d337c",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 311.333,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47565,
    "c": 0.15004,
    "h": 335.8
  },
  "luminance": 0.09486
}

Semantic roles & 50–950 ramp

primary
#8D337C
secondary
#69B377
accent
#D76A51
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8D337C

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

Preview Lab → · Contrast checker → · Palette generator →

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