#9C3281#9C3281

#9C3281 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.166 H 339.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9C3281
RGBrgb(156, 50, 129)
HSLhsl(315, 51%, 40%)
HSVhsv(315, 68%, 61%)
CMYKcmyk(0%, 67.9%, 17.3%, 38.8%)
CIE-LABlab(39.47, 52.29, -21.51)
CIE-LCHlch(39.47, 56.54, 337.64°)
OKLaboklab(50% 0.1552 -0.058)
OKLCHoklch(50% 0.166 339.5)
XYZxyz(18.8138, 10.9358, 21.8846)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3281 #329C4D
analogous
#82329C #9C3281 #9C324C
triadic
#9C3281 #819C32 #32819C
tetradic
#9C3281 #9C8232 #329C4D #324C9C
square
#9C3281 #9C8232 #329C4D #324C9C
split-complementary
#9C3281 #4C9C32 #329C82
monochromatic
#3F1434 #6E235B #9C3281 #C447A4 #D375BB

Accessibility & contrast

On white

6.59
#9C3281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9C3281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3281
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3281#FFFFFF#000000##FFFFFF
##9C32811.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#59637E
Tritanopia (blue-blind)
#A53555
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c3281;
/* rgb */ color: rgb(156, 50, 129);
/* oklch */ color: oklch(50.0% 0.166 339.5);
Tailwind
colors: {
  custom: {
    50: '#bc72a5',
    500: '#9c3281',
    950: '#000000',
  },
}
SCSS
$custom: #9c3281;
$custom-light: #bc72a5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3281",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 315.283,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5,
    "c": 0.16566,
    "h": 339.5
  },
  "luminance": 0.10934
}

Semantic roles & 50–950 ramp

primary
#9C3281
secondary
#6FBB82
accent
#DB714D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C3281

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

Preview Lab → · Contrast checker → · Palette generator →

#9C3281 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva