#9C306F#9C306F

#9C306F is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.157 H 348.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C306F
RGBrgb(156, 48, 111)
HSLhsl(325, 53%, 40%)
HSVhsv(325, 69%, 61%)
CMYKcmyk(0%, 69.2%, 28.8%, 38.8%)
CIE-LABlab(38.43, 50.57, -11.92)
CIE-LCHlch(38.43, 51.96, 346.74°)
OKLaboklab(48.99% 0.1537 -0.0313)
OKLCHoklch(48.99% 0.157 348.5)
XYZxyz(17.6373, 10.3314, 16.1012)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C306F #309C5D
analogous
#93309C #9C306F #9C3039
triadic
#9C306F #6F9C30 #306F9C
tetradic
#9C306F #9C9330 #309C5D #30399C
square
#9C306F #9C9330 #309C5D #30399C
split-complementary
#9C306F #399C30 #309C93
monochromatic
#3E132C #6D224E #9C306F #C5448F #D473AB

Accessibility & contrast

On white

6.85
#9C306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C306F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C306F#FFFFFF#000000##FFFFFF
##9C306F1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E71
Deuteranopia (green-blind)
#5E616C
Tritanopia (blue-blind)
#A72C4B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c306f;
/* rgb */ color: rgb(156, 48, 111);
/* oklch */ color: oklch(49.0% 0.157 348.5);
Tailwind
colors: {
  custom: {
    50: '#bd7198',
    500: '#9c306f',
    950: '#000000',
  },
}
SCSS
$custom: #9c306f;
$custom-light: #bd7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9c306f",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 325,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.48992,
    "c": 0.15687,
    "h": 348.5
  },
  "luminance": 0.1033
}

Semantic roles & 50–950 ramp

primary
#9C306F
secondary
#6CBC8D
accent
#DC884B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9C306F

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

Preview Lab → · Contrast checker → · Palette generator →

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