#9F306C#9F306C

#9F306C is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.158 H 351.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F306C
RGBrgb(159, 48, 108)
HSLhsl(328, 54%, 41%)
HSVhsv(328, 70%, 62%)
CMYKcmyk(0%, 69.8%, 32.1%, 37.6%)
CIE-LABlab(38.85, 51.06, -9.36)
CIE-LCHlch(38.85, 51.91, 349.62°)
OKLaboklab(49.36% 0.1558 -0.0242)
OKLCHoklch(49.36% 0.158 351.2)
XYZxyz(18.0627, 10.5696, 15.2733)
Luminance0.1057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F306C #309F63
analogous
#9A309F #9F306C #9F3034
triadic
#9F306C #6C9F30 #306C9F
tetradic
#9F306C #9F9A30 #309F63 #30349F
square
#9F306C #9F9A30 #309F63 #30349F
split-complementary
#9F306C #349F30 #309F9A
monochromatic
#41142C #70224C #9F306C #C7458B #D574A9

Accessibility & contrast

On white

6.74
#9F306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F306C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F306C#FFFFFF#000000##FFFFFF
##9F306C1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414F6E
Deuteranopia (green-blind)
#616369
Tritanopia (blue-blind)
#AB294A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f306c;
/* rgb */ color: rgb(159, 48, 108);
/* oklch */ color: oklch(49.4% 0.158 351.2);
Tailwind
colors: {
  custom: {
    50: '#bf7196',
    500: '#9f306c',
    950: '#000000',
  },
}
SCSS
$custom: #9f306c;
$custom-light: #bf7196;
$custom-dark: #000000;
JSON
{
  "hex": "#9f306c",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 327.568,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4936,
    "c": 0.15771,
    "h": 351.2
  },
  "luminance": 0.10568
}

Semantic roles & 50–950 ramp

primary
#9F306C
secondary
#6EBD92
accent
#DD8E4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F306C

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

Preview Lab → · Contrast checker → · Palette generator →

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