#9F317E#9F317E

#9F317E is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.167 H 342.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9F317E
RGBrgb(159, 49, 126)
HSLhsl(318, 53%, 41%)
HSVhsv(318, 69%, 62%)
CMYKcmyk(0%, 69.2%, 20.8%, 37.6%)
CIE-LABlab(39.71, 53.07, -19.25)
CIE-LCHlch(39.71, 56.45, 340.06°)
OKLaboklab(50.23% 0.1589 -0.0516)
OKLCHoklch(50.23% 0.167 342)
XYZxyz(19.1629, 11.0758, 20.8632)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F317E #319F52
analogous
#89319F #9F317E #9F3147
triadic
#9F317E #7E9F31 #317E9F
tetradic
#9F317E #9F8931 #319F52 #31479F
square
#9F317E #9F8931 #319F52 #31479F
split-complementary
#9F317E #479F31 #319F89
monochromatic
#411434 #702359 #9F317E #C647A0 #D576B8

Accessibility & contrast

On white

6.53
#9F317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9F317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F317E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F317E#FFFFFF#000000##FFFFFF
##9F317E1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#5C647B
Tritanopia (blue-blind)
#A93253
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f317e;
/* rgb */ color: rgb(159, 49, 126);
/* oklch */ color: oklch(50.2% 0.167 342.0);
Tailwind
colors: {
  custom: {
    50: '#bf72a3',
    500: '#9f317e',
    950: '#000000',
  },
}
SCSS
$custom: #9f317e;
$custom-light: #bf72a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f317e",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 318,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.16707,
    "h": 342
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#9F317E
secondary
#6FBD86
accent
#DC774C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F317E

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

Preview Lab → · Contrast checker → · Palette generator →

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