#9F307B#9F307B

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

Color values

HEX#9F307B
RGBrgb(159, 48, 123)
HSLhsl(319, 54%, 41%)
HSVhsv(319, 70%, 62%)
CMYKcmyk(0%, 69.8%, 22.6%, 37.6%)
CIE-LABlab(39.44, 53.03, -17.81)
CIE-LCHlch(39.44, 55.94, 341.44°)
OKLaboklab(49.99% 0.1595 -0.0476)
OKLCHoklch(49.99% 0.166 343.4)
XYZxyz(18.9308, 10.9168, 19.8452)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307B #309F54
analogous
#8B309F #9F307B #9F3044
triadic
#9F307B #7B9F30 #307B9F
tetradic
#9F307B #9F8B30 #309F54 #30449F
square
#9F307B #9F8B30 #309F54 #30449F
split-complementary
#9F307B #449F30 #309F8B
monochromatic
#411432 #702257 #9F307B #C7459D #D574B6

Accessibility & contrast

On white

6.60
#9F307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F307B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307B#FFFFFF#000000##FFFFFF
##9F307B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#5C6478
Tritanopia (blue-blind)
#A93051
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307b;
/* rgb */ color: rgb(159, 48, 123);
/* oklch */ color: oklch(50.0% 0.166 343.4);
Tailwind
colors: {
  custom: {
    50: '#bf71a1',
    500: '#9f307b',
    950: '#000000',
  },
}
SCSS
$custom: #9f307b;
$custom-light: #bf71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307b",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 319.459,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.16642,
    "h": 343.4
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F307B

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

Preview Lab → · Contrast checker → · Palette generator →

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