#8D336F#8D336F

#8D336F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.0% C 0.140 H 343.0°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8D336F
RGBrgb(141, 51, 111)
HSLhsl(320, 47%, 38%)
HSVhsv(320, 64%, 55%)
CMYKcmyk(0%, 63.8%, 21.3%, 44.7%)
CIE-LABlab(36.33, 44.88, -15.35)
CIE-LCHlch(36.33, 47.43, 341.11°)
OKLaboklab(46.95% 0.1343 -0.041)
OKLCHoklch(46.95% 0.14 343)
XYZxyz(15.0380, 9.1795, 16.0157)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D336F #338D51
analogous
#7E338D #8D336F #8D3342
triadic
#8D336F #6F8D33 #336F8D
tetradic
#8D336F #8D7E33 #338D51 #33428D
square
#8D336F #8D7E33 #338D51 #33428D
split-complementary
#8D336F #428D33 #338D7E
monochromatic
#331228 #60234C #8D336F #BA4392 #CB6FAC

Accessibility & contrast

On white

7.41
#8D336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8D336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D336F
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D336F#FFFFFF#000000##FFFFFF
##8D336F1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4C71
Deuteranopia (green-blind)
#555B6D
Tritanopia (blue-blind)
#96334C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8d336f;
/* rgb */ color: rgb(141, 51, 111);
/* oklch */ color: oklch(47.0% 0.140 343.0);
Tailwind
colors: {
  custom: {
    50: '#b17198',
    500: '#8d336f',
    950: '#000000',
  },
}
SCSS
$custom: #8d336f;
$custom-light: #b17198;
$custom-dark: #000000;
JSON
{
  "hex": "#8d336f",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 320,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46952,
    "c": 0.14043,
    "h": 343
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#8D336F
secondary
#69B382
accent
#D77E51
background
#FBF7F9
surface
#F6EDF2
border
#D0C8CC
text
#11080D
muted
#807B7E

Preview Lab

Preview with #8D336F

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

Preview Lab → · Contrast checker → · Palette generator →

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