#9F306F#9F306F

#9F306F is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.159 H 349.5°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9F306F
RGBrgb(159, 48, 111)
HSLhsl(326, 54%, 41%)
HSVhsv(326, 70%, 62%)
CMYKcmyk(0%, 69.8%, 30.2%, 37.6%)
CIE-LABlab(38.96, 51.44, -11.07)
CIE-LCHlch(38.96, 52.61, 347.86°)
OKLaboklab(49.48% 0.1567 -0.0289)
OKLCHoklch(49.48% 0.159 349.5)
XYZxyz(18.2252, 10.6345, 16.1287)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F306F #309F60
analogous
#97309F #9F306F #9F3037
triadic
#9F306F #6F9F30 #306F9F
tetradic
#9F306F #9F9730 #309F60 #30379F
square
#9F306F #9F9730 #309F60 #30379F
split-complementary
#9F306F #379F30 #309F97
monochromatic
#41142D #70224E #9F306F #C7458F #D574AB

Accessibility & contrast

On white

6.72
#9F306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F306F
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F306F#FFFFFF#000000##FFFFFF
##9F306F1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F71
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#AB2B4B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f306f;
/* rgb */ color: rgb(159, 48, 111);
/* oklch */ color: oklch(49.5% 0.159 349.5);
Tailwind
colors: {
  custom: {
    50: '#bf7198',
    500: '#9f306f',
    950: '#000000',
  },
}
SCSS
$custom: #9f306f;
$custom-light: #bf7198;
$custom-dark: #000000;
JSON
{
  "hex": "#9f306f",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 325.946,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49479,
    "c": 0.1593,
    "h": 349.5
  },
  "luminance": 0.10633
}

Semantic roles & 50–950 ramp

primary
#9F306F
secondary
#6EBD90
accent
#DD8A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F306F

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

Preview Lab → · Contrast checker → · Palette generator →

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