#9C307C#9C307C

#9C307C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.165 H 341.8°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9C307C
RGBrgb(156, 48, 124)
HSLhsl(318, 53%, 40%)
HSVhsv(318, 69%, 61%)
CMYKcmyk(0%, 69.2%, 20.5%, 38.8%)
CIE-LABlab(38.97, 52.35, -19.20)
CIE-LCHlch(38.97, 55.77, 339.86°)
OKLaboklab(49.56% 0.1567 -0.0515)
OKLCHoklch(49.56% 0.165 341.8)
XYZxyz(18.4059, 10.6388, 20.1490)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C307C #309C50
analogous
#86309C #9C307C #9C3046
triadic
#9C307C #7C9C30 #307C9C
tetradic
#9C307C #9C8630 #309C50 #30469C
square
#9C307C #9C8630 #309C50 #30469C
split-complementary
#9C307C #469C30 #309C86
monochromatic
#3E1332 #6D2257 #9C307C #C5449F #D473B7

Accessibility & contrast

On white

6.71
#9C307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C307C
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C307C#FFFFFF#000000##FFFFFF
##9C307C1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5A6279
Tritanopia (blue-blind)
#A63151
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c307c;
/* rgb */ color: rgb(156, 48, 124);
/* oklch */ color: oklch(49.6% 0.165 341.8);
Tailwind
colors: {
  custom: {
    50: '#bd71a2',
    500: '#9c307c',
    950: '#000000',
  },
}
SCSS
$custom: #9c307c;
$custom-light: #bd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c307c",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 317.778,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.16491,
    "h": 341.8
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C307C

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

Preview Lab → · Contrast checker → · Palette generator →

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