#8D336E#8D336E

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

Color values

HEX#8D336E
RGBrgb(141, 51, 110)
HSLhsl(321, 47%, 38%)
HSVhsv(321, 64%, 55%)
CMYKcmyk(0%, 63.8%, 22%, 44.7%)
CIE-LABlab(36.29, 44.73, -14.79)
CIE-LCHlch(36.29, 47.11, 341.71°)
OKLaboklab(46.91% 0.1341 -0.0394)
OKLCHoklch(46.91% 0.14 343.6)
XYZxyz(14.9833, 9.1576, 15.7273)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D336E #338D52
analogous
#7F338D #8D336E #8D3341
triadic
#8D336E #6E8D33 #336E8D
tetradic
#8D336E #8D7F33 #338D52 #33418D
square
#8D336E #8D7F33 #338D52 #33418D
split-complementary
#8D336E #418D33 #338D7F
monochromatic
#331228 #60234B #8D336E #BA4391 #CB6FAB

Accessibility & contrast

On white

7.42
#8D336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8D336E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D336E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D336E#FFFFFF#000000##FFFFFF
##8D336E1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d336e;
/* rgb */ color: rgb(141, 51, 110);
/* oklch */ color: oklch(46.9% 0.140 343.6);
Tailwind
colors: {
  custom: {
    50: '#b17197',
    500: '#8d336e',
    950: '#000000',
  },
}
SCSS
$custom: #8d336e;
$custom-light: #b17197;
$custom-dark: #000000;
JSON
{
  "hex": "#8d336e",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 320.667,
    "s": 46.875,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.13975,
    "h": 343.6
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D336E

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

Preview Lab → · Contrast checker → · Palette generator →

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