#9F307A#9F307A

#9F307A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.166 H 343.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9F307A
RGBrgb(159, 48, 122)
HSLhsl(320, 54%, 41%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 69.8%, 23.3%, 37.6%)
CIE-LABlab(39.40, 52.89, -17.25)
CIE-LCHlch(39.40, 55.64, 341.93°)
OKLaboklab(49.95% 0.1593 -0.046)
OKLCHoklch(49.95% 0.166 343.9)
XYZxyz(18.8685, 10.8919, 19.5172)
Luminance0.1089 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307A #309F55
analogous
#8C309F #9F307A #9F3042
triadic
#9F307A #7A9F30 #307A9F
tetradic
#9F307A #9F8C30 #309F55 #30429F
square
#9F307A #9F8C30 #309F55 #30429F
split-complementary
#9F307A #429F30 #309F8C
monochromatic
#411432 #702256 #9F307A #C7459C #D574B5

Accessibility & contrast

On white

6.61
#9F307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9F307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F307A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307A#FFFFFF#000000##FFFFFF
##9F307A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#5D6477
Tritanopia (blue-blind)
#A93050
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307a;
/* rgb */ color: rgb(159, 48, 122);
/* oklch */ color: oklch(49.9% 0.166 343.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a0',
    500: '#9f307a',
    950: '#000000',
  },
}
SCSS
$custom: #9f307a;
$custom-light: #bf71a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307a",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 320,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49945,
    "c": 0.16579,
    "h": 343.9
  },
  "luminance": 0.1089
}

Semantic roles & 50–950 ramp

primary
#9F307A
secondary
#6EBD88
accent
#DD7C4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F307A

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

Preview Lab → · Contrast checker → · Palette generator →

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