#9C307D#9C307D

#9C307D is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 341.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9C307D
RGBrgb(156, 48, 125)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 69%, 61%)
CMYKcmyk(0%, 69.2%, 19.9%, 38.8%)
CIE-LABlab(39.01, 52.50, -19.76)
CIE-LCHlch(39.01, 56.09, 339.38°)
OKLaboklab(49.6% 0.1569 -0.0531)
OKLCHoklch(49.6% 0.166 341.3)
XYZxyz(18.4694, 10.6643, 20.4838)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C307D #309C4F
analogous
#85309C #9C307D #9C3047
triadic
#9C307D #7D9C30 #307D9C
tetradic
#9C307D #9C8530 #309C4F #30479C
square
#9C307D #9C8530 #309C4F #30479C
split-complementary
#9C307D #479C30 #309C85
monochromatic
#3E1332 #6D2258 #9C307D #C544A0 #D473B8

Accessibility & contrast

On white

6.70
#9C307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C307D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C307D#FFFFFF#000000##FFFFFF
##9C307D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38517F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A53252
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c307d;
/* rgb */ color: rgb(156, 48, 125);
/* oklch */ color: oklch(49.6% 0.166 341.3);
Tailwind
colors: {
  custom: {
    50: '#bd71a2',
    500: '#9c307d',
    950: '#000000',
  },
}
SCSS
$custom: #9c307d;
$custom-light: #bd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c307d",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 317.222,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.16558,
    "h": 341.3
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#9C307D
secondary
#6CBC83
accent
#DC754B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C307D

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

Preview Lab → · Contrast checker → · Palette generator →

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