#9C307F#9C307F

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

Color values

HEX#9C307F
RGBrgb(156, 48, 127)
HSLhsl(316, 53%, 40%)
HSVhsv(316, 69%, 61%)
CMYKcmyk(0%, 69.2%, 18.6%, 38.8%)
CIE-LABlab(39.10, 52.79, -20.86)
CIE-LCHlch(39.10, 56.76, 338.44°)
OKLaboklab(49.7% 0.1572 -0.0562)
OKLCHoklch(49.7% 0.167 340.3)
XYZxyz(18.5985, 10.7159, 21.1634)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C307F #309C4D
analogous
#83309C #9C307F #9C3049
triadic
#9C307F #7F9C30 #307F9C
tetradic
#9C307F #9C8330 #309C4D #30499C
square
#9C307F #9C8330 #309C4D #30499C
split-complementary
#9C307F #499C30 #309C83
monochromatic
#3E1333 #6D2259 #9C307F #C544A3 #D473BA

Accessibility & contrast

On white

6.68
#9C307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C307F
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C307F#FFFFFF#000000##FFFFFF
##9C307F1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#59627C
Tritanopia (blue-blind)
#A53353
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c307f;
/* rgb */ color: rgb(156, 48, 127);
/* oklch */ color: oklch(49.7% 0.167 340.3);
Tailwind
colors: {
  custom: {
    50: '#bd71a4',
    500: '#9c307f',
    950: '#000000',
  },
}
SCSS
$custom: #9c307f;
$custom-light: #bd71a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c307f",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 316.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.49698,
    "c": 0.16695,
    "h": 340.3
  },
  "luminance": 0.10714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C307F

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

Preview Lab → · Contrast checker → · Palette generator →

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