#9F307F#9F307F

#9F307F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.169 H 341.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F307F
RGBrgb(159, 48, 127)
HSLhsl(317, 54%, 41%)
HSVhsv(317, 70%, 62%)
CMYKcmyk(0%, 69.8%, 20.1%, 37.6%)
CIE-LABlab(39.61, 53.60, -20.02)
CIE-LCHlch(39.61, 57.21, 339.52°)
OKLaboklab(50.17% 0.1603 -0.0538)
OKLCHoklch(50.17% 0.169 341.5)
XYZxyz(19.1864, 11.0190, 21.1910)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F307F #309F50
analogous
#87309F #9F307F #9F3048
triadic
#9F307F #7F9F30 #307F9F
tetradic
#9F307F #9F8730 #309F50 #30489F
square
#9F307F #9F8730 #309F50 #30489F
split-complementary
#9F307F #489F30 #309F87
monochromatic
#411434 #702259 #9F307F #C745A2 #D574B9

Accessibility & contrast

On white

6.56
#9F307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F307F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F307F#FFFFFF#000000##FFFFFF
##9F307F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395281
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#A93253
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f307f;
/* rgb */ color: rgb(159, 48, 127);
/* oklch */ color: oklch(50.2% 0.169 341.5);
Tailwind
colors: {
  custom: {
    50: '#bf72a4',
    500: '#9f307f',
    950: '#000000',
  },
}
SCSS
$custom: #9f307f;
$custom-light: #bf72a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f307f",
  "rgb": {
    "r": 159,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 317.297,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50172,
    "c": 0.16904,
    "h": 341.5
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#9F307F
secondary
#6EBD85
accent
#DD754B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F307F

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

Preview Lab → · Contrast checker → · Palette generator →

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