#9C307E#9C307E

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

Color values

HEX#9C307E
RGBrgb(156, 48, 126)
HSLhsl(317, 53%, 40%)
HSVhsv(317, 69%, 61%)
CMYKcmyk(0%, 69.2%, 19.2%, 38.8%)
CIE-LABlab(39.05, 52.64, -20.31)
CIE-LCHlch(39.05, 56.42, 338.91°)
OKLaboklab(49.65% 0.157 -0.0546)
OKLCHoklch(49.65% 0.166 340.8)
XYZxyz(18.5336, 10.6899, 20.8219)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C307E #309C4E
analogous
#84309C #9C307E #9C3048
triadic
#9C307E #7E9C30 #307E9C
tetradic
#9C307E #9C8430 #309C4E #30489C
square
#9C307E #9C8430 #309C4E #30489C
split-complementary
#9C307E #489C30 #309C84
monochromatic
#3E1332 #6D2258 #9C307E #C544A1 #D473B9

Accessibility & contrast

On white

6.69
#9C307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C307E
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C307E#FFFFFF#000000##FFFFFF
##9C307E1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#59627B
Tritanopia (blue-blind)
#A53252
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c307e;
/* rgb */ color: rgb(156, 48, 126);
/* oklch */ color: oklch(49.7% 0.166 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd71a3',
    500: '#9c307e',
    950: '#000000',
  },
}
SCSS
$custom: #9c307e;
$custom-light: #bd71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c307e",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 316.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.16626,
    "h": 340.8
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#9C307E
secondary
#6CBC82
accent
#DC744B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C307E

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

Preview Lab → · Contrast checker → · Palette generator →

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