#9F3170#9F3170

#9F3170 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.6% C 0.159 H 349.1°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#9F3170
RGBrgb(159, 49, 112)
HSLhsl(326, 53%, 41%)
HSVhsv(326, 69%, 62%)
CMYKcmyk(0%, 69.2%, 29.6%, 37.6%)
CIE-LABlab(39.14, 51.17, -11.42)
CIE-LCHlch(39.14, 52.43, 347.42°)
OKLaboklab(49.62% 0.1557 -0.0299)
OKLCHoklch(49.62% 0.159 349.1)
XYZxyz(18.3219, 10.7394, 16.4341)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3170 #319F60
analogous
#97319F #9F3170 #9F3139
triadic
#9F3170 #709F31 #31709F
tetradic
#9F3170 #9F9731 #319F60 #31399F
square
#9F3170 #9F9731 #319F60 #31399F
split-complementary
#9F3170 #399F31 #319F97
monochromatic
#41142E #70234F #9F3170 #C64790 #D576AC

Accessibility & contrast

On white

6.67
#9F3170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9F3170 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3170
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3170#FFFFFF#000000##FFFFFF
##9F31701.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405072
Deuteranopia (green-blind)
#60636D
Tritanopia (blue-blind)
#AA2C4C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f3170;
/* rgb */ color: rgb(159, 49, 112);
/* oklch */ color: oklch(49.6% 0.159 349.1);
Tailwind
colors: {
  custom: {
    50: '#bf7299',
    500: '#9f3170',
    950: '#000000',
  },
}
SCSS
$custom: #9f3170;
$custom-light: #bf7299;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3170",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 325.636,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49623,
    "c": 0.15853,
    "h": 349.1
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#9F3170
secondary
#6FBD90
accent
#DC894C
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F3170

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

Preview Lab → · Contrast checker → · Palette generator →

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