#8C337C#8C337C

#8C337C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.4% C 0.149 H 335.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#8C337C
RGBrgb(140, 51, 124)
HSLhsl(311, 47%, 37%)
HSVhsv(311, 64%, 55%)
CMYKcmyk(0%, 63.6%, 11.4%, 45.1%)
CIE-LABlab(36.74, 46.64, -22.86)
CIE-LCHlch(36.74, 51.94, 333.89°)
OKLaboklab(47.41% 0.1358 -0.0622)
OKLCHoklch(47.41% 0.149 335.4)
XYZxyz(15.6373, 9.3996, 20.0556)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C337C #338C43
analogous
#70338C #8C337C #8C334F
triadic
#8C337C #7C8C33 #337C8C
tetradic
#8C337C #8C7033 #338C43 #334F8C
square
#8C337C #8C7033 #338C43 #334F8C
split-complementary
#8C337C #4F8C33 #338C70
monochromatic
#32122D #5F2354 #8C337C #B943A4 #CB6FBA

Accessibility & contrast

On white

7.29
#8C337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8C337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C337C
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C337C#FFFFFF#000000##FFFFFF
##8C337C1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7E
Deuteranopia (green-blind)
#4F5B7A
Tritanopia (blue-blind)
#933852
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c337c;
/* rgb */ color: rgb(140, 51, 124);
/* oklch */ color: oklch(47.4% 0.149 335.4);
Tailwind
colors: {
  custom: {
    50: '#b071a2',
    500: '#8c337c',
    950: '#000000',
  },
}
SCSS
$custom: #8c337c;
$custom-light: #b071a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c337c",
  "rgb": {
    "r": 140,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 310.787,
    "s": 46.597,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47414,
    "c": 0.14934,
    "h": 335.4
  },
  "luminance": 0.09398
}

Semantic roles & 50–950 ramp

primary
#8C337C
secondary
#68B276
accent
#D66952
background
#FBF7FA
surface
#F6EDF3
border
#D0C8CD
text
#11080F
muted
#807B7F

Preview Lab

Preview with #8C337C

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

Preview Lab → · Contrast checker → · Palette generator →

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