#9F306A#9F306A

#9F306A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.157 H 352.2°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F306A
RGBrgb(159, 48, 106)
HSLhsl(329, 54%, 41%)
HSVhsv(329, 70%, 62%)
CMYKcmyk(0%, 69.8%, 33.3%, 37.6%)
CIE-LABlab(38.77, 50.82, -8.21)
CIE-LCHlch(38.77, 51.47, 350.82°)
OKLaboklab(49.28% 0.1553 -0.0211)
OKLCHoklch(49.28% 0.157 352.2)
XYZxyz(17.9575, 10.5275, 14.7192)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F306A #309F65
analogous
#9C309F #9F306A #9F3032
triadic
#9F306A #6A9F30 #306A9F
tetradic
#9F306A #9F9C30 #309F65 #30329F
square
#9F306A #9F9C30 #309F65 #30329F
split-complementary
#9F306A #329F30 #309F9C
monochromatic
#41142B #70224B #9F306A #C74589 #D574A7

Accessibility & contrast

On white

6.76
#9F306A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F306A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F306A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F306A#FFFFFF#000000##FFFFFF
##9F306A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424F6C
Deuteranopia (green-blind)
#616367
Tritanopia (blue-blind)
#AB2849
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f306a;
/* rgb */ color: rgb(159, 48, 106);
/* oklch */ color: oklch(49.3% 0.157 352.2);
Tailwind
colors: {
  custom: {
    50: '#bf7194',
    500: '#9f306a',
    950: '#000000',
  },
}
SCSS
$custom: #9f306a;
$custom-light: #bf7194;
$custom-dark: #000000;
JSON
{
  "hex": "#9f306a",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 328.649,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49282,
    "c": 0.15669,
    "h": 352.2
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#9F306A
secondary
#6EBD94
accent
#DD914B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F306A

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

Preview Lab → · Contrast checker → · Palette generator →

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