#9C307B#9C307B

#9C307B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.164 H 342.3°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C307B
RGBrgb(156, 48, 123)
HSLhsl(318, 53%, 40%)
HSVhsv(318, 69%, 61%)
CMYKcmyk(0%, 69.2%, 21.2%, 38.8%)
CIE-LABlab(38.92, 52.21, -18.65)
CIE-LCHlch(38.92, 55.44, 340.34°)
OKLaboklab(49.51% 0.1565 -0.05)
OKLCHoklch(49.51% 0.164 342.3)
XYZxyz(18.3430, 10.6137, 19.8177)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C307B #309C51
analogous
#87309C #9C307B #9C3045
triadic
#9C307B #7B9C30 #307B9C
tetradic
#9C307B #9C8730 #309C51 #30459C
square
#9C307B #9C8730 #309C51 #30459C
split-complementary
#9C307B #459C30 #309C87
monochromatic
#3E1331 #6D2256 #9C307B #C5449E #D473B6

Accessibility & contrast

On white

6.73
#9C307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C307B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C307B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C307B#FFFFFF#000000##FFFFFF
##9C307B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5A6278
Tritanopia (blue-blind)
#A63151
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c307b;
/* rgb */ color: rgb(156, 48, 123);
/* oklch */ color: oklch(49.5% 0.164 342.3);
Tailwind
colors: {
  custom: {
    50: '#bd71a1',
    500: '#9c307b',
    950: '#000000',
  },
}
SCSS
$custom: #9c307b;
$custom-light: #bd71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c307b",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 318.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.16425,
    "h": 342.3
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#9C307B
secondary
#6CBC84
accent
#DC784B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080F
muted
#817B7E

Preview Lab

Preview with #9C307B

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

Preview Lab → · Contrast checker → · Palette generator →

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