#9F307C#9F307C

#9F307C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.167 H 342.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9F307C
RGBrgb(159, 48, 124)
HSLhsl(319, 54%, 41%)
HSVhsv(319, 70%, 62%)
CMYKcmyk(0%, 69.8%, 22%, 37.6%)
CIE-LABlab(39.48, 53.17, -18.36)
CIE-LCHlch(39.48, 56.25, 340.95°)
OKLaboklab(50.03% 0.1597 -0.0491)
OKLCHoklch(50.03% 0.167 342.9)
XYZxyz(18.9937, 10.9420, 20.1766)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307C #309F53
analogous
#8A309F #9F307C #9F3044
triadic
#9F307C #7C9F30 #307C9F
tetradic
#9F307C #9F8A30 #309F53 #30449F
square
#9F307C #9F8A30 #309F53 #30449F
split-complementary
#9F307C #449F30 #309F8A
monochromatic
#411433 #702257 #9F307C #C7459E #D574B7

Accessibility & contrast

On white

6.59
#9F307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9F307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F307C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307C#FFFFFF#000000##FFFFFF
##9F307C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#5C6479
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307c;
/* rgb */ color: rgb(159, 48, 124);
/* oklch */ color: oklch(50.0% 0.167 342.9);
Tailwind
colors: {
  custom: {
    50: '#bf71a2',
    500: '#9f307c',
    950: '#000000',
  },
}
SCSS
$custom: #9f307c;
$custom-light: #bf71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307c",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 318.919,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.16706,
    "h": 342.9
  },
  "luminance": 0.1094
}

Semantic roles & 50–950 ramp

primary
#9F307C
secondary
#6EBD87
accent
#DD794B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #9F307C

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

Preview Lab → · Contrast checker → · Palette generator →

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