#9C308A#9C308A

#9C308A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.175 H 335.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9C308A
RGBrgb(156, 48, 138)
HSLhsl(310, 53%, 40%)
HSVhsv(310, 69%, 61%)
CMYKcmyk(0%, 69.2%, 11.5%, 38.8%)
CIE-LABlab(39.61, 54.46, -26.83)
CIE-LCHlch(39.61, 60.71, 333.77°)
OKLaboklab(50.24% 0.1588 -0.0732)
OKLCHoklch(50.24% 0.175 335.3)
XYZxyz(19.3549, 11.0184, 25.1472)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C308A #309C42
analogous
#78309C #9C308A #9C3054
triadic
#9C308A #8A9C30 #308A9C
tetradic
#9C308A #9C7830 #309C42 #30549C
square
#9C308A #9C7830 #309C42 #30549C
split-complementary
#9C308A #549C30 #309C78
monochromatic
#3E1337 #6D2261 #9C308A #C544B0 #D473C4

Accessibility & contrast

On white

6.56
#9C308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C308A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C308A#FFFFFF#000000##FFFFFF
##9C308A1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#546387
Tritanopia (blue-blind)
#A43859
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c308a;
/* rgb */ color: rgb(156, 48, 138);
/* oklch */ color: oklch(50.2% 0.175 335.3);
Tailwind
colors: {
  custom: {
    50: '#bc72ac',
    500: '#9c308a',
    950: '#000000',
  },
}
SCSS
$custom: #9c308a;
$custom-light: #bc72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c308a",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 310,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.17487,
    "h": 335.3
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#9C308A
secondary
#6CBC79
accent
#DC644B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C308A

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

Preview Lab → · Contrast checker → · Palette generator →

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