#9C306E#9C306E

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

Color values

HEX#9C306E
RGBrgb(156, 48, 110)
HSLhsl(326, 53%, 40%)
HSVhsv(326, 69%, 61%)
CMYKcmyk(0%, 69.2%, 29.5%, 38.8%)
CIE-LABlab(38.39, 50.45, -11.35)
CIE-LCHlch(38.39, 51.71, 347.32°)
OKLaboklab(48.95% 0.1535 -0.0297)
OKLCHoklch(48.95% 0.156 349)
XYZxyz(17.5826, 10.3095, 15.8128)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C306E #309C5E
analogous
#94309C #9C306E #9C3038
triadic
#9C306E #6E9C30 #306E9C
tetradic
#9C306E #9C9430 #309C5E #30389C
square
#9C306E #9C9430 #309C5E #30389C
split-complementary
#9C306E #389C30 #309C94
monochromatic
#3E132C #6D224D #9C306E #C5448E #D473AA

Accessibility & contrast

On white

6.86
#9C306E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C306E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C306E#FFFFFF#000000##FFFFFF
##9C306E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#5E616B
Tritanopia (blue-blind)
#A72B4A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c306e;
/* rgb */ color: rgb(156, 48, 110);
/* oklch */ color: oklch(49.0% 0.156 349.0);
Tailwind
colors: {
  custom: {
    50: '#bd7197',
    500: '#9c306e',
    950: '#000000',
  },
}
SCSS
$custom: #9c306e;
$custom-light: #bd7197;
$custom-dark: #000000;
JSON
{
  "hex": "#9c306e",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 325.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.48951,
    "c": 0.15631,
    "h": 349
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#9C306E
secondary
#6CBC8E
accent
#DC894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080D
muted
#817B7E

Preview Lab

Preview with #9C306E

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

Preview Lab → · Contrast checker → · Palette generator →

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