#9C306C#9C306C

#9C306C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.155 H 350.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9C306C
RGBrgb(156, 48, 108)
HSLhsl(327, 53%, 40%)
HSVhsv(327, 69%, 61%)
CMYKcmyk(0%, 69.2%, 30.8%, 38.8%)
CIE-LABlab(38.32, 50.19, -10.21)
CIE-LCHlch(38.32, 51.22, 348.51°)
OKLaboklab(48.87% 0.1529 -0.0266)
OKLCHoklch(48.87% 0.155 350.1)
XYZxyz(17.4749, 10.2664, 15.2458)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C306C #309C60
analogous
#96309C #9C306C #9C3036
triadic
#9C306C #6C9C30 #306C9C
tetradic
#9C306C #9C9630 #309C60 #30369C
square
#9C306C #9C9630 #309C60 #30369C
split-complementary
#9C306C #369C30 #309C96
monochromatic
#3E132B #6D224C #9C306C #C5448C #D473A9

Accessibility & contrast

On white

6.88
#9C306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C306C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C306C#FFFFFF#000000##FFFFFF
##9C306C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6E
Deuteranopia (green-blind)
#5F6169
Tritanopia (blue-blind)
#A72A4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c306c;
/* rgb */ color: rgb(156, 48, 108);
/* oklch */ color: oklch(48.9% 0.155 350.1);
Tailwind
colors: {
  custom: {
    50: '#bd7196',
    500: '#9c306c',
    950: '#000000',
  },
}
SCSS
$custom: #9c306c;
$custom-light: #bd7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9c306c",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 326.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.4887,
    "c": 0.15521,
    "h": 350.1
  },
  "luminance": 0.10265
}

Semantic roles & 50–950 ramp

primary
#9C306C
secondary
#6CBC8F
accent
#DC8C4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9C306C

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

Preview Lab → · Contrast checker → · Palette generator →

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