#9F3166#9F3166

#9F3166 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.2% C 0.153 H 354.6°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F3166
RGBrgb(159, 49, 102)
HSLhsl(331, 53%, 41%)
HSVhsv(331, 69%, 62%)
CMYKcmyk(0%, 69.2%, 35.8%, 37.6%)
CIE-LABlab(38.78, 49.94, -5.69)
CIE-LCHlch(38.78, 50.26, 353.50°)
OKLaboklab(49.24% 0.1528 -0.0144)
OKLCHoklch(49.24% 0.153 354.6)
XYZxyz(17.7957, 10.5289, 13.6629)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3166 #319F6A
analogous
#9F319D #9F3166 #9F3331
triadic
#9F3166 #669F31 #31669F
tetradic
#9F3166 #9D9F31 #319F6A #33319F
square
#9F3166 #9D9F31 #319F6A #33319F
split-complementary
#9F3166 #319F33 #319D9F
monochromatic
#41142A #702348 #9F3166 #C64784 #D576A3

Accessibility & contrast

On white

6.76
#9F3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3166
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3166#FFFFFF#000000##FFFFFF
##9F31661.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E67
Deuteranopia (green-blind)
#636363
Tritanopia (blue-blind)
#AB2847
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f3166;
/* rgb */ color: rgb(159, 49, 102);
/* oklch */ color: oklch(49.2% 0.153 354.6);
Tailwind
colors: {
  custom: {
    50: '#bf7191',
    500: '#9f3166',
    950: '#000000',
  },
}
SCSS
$custom: #9f3166;
$custom-light: #bf7191;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3166",
  "rgb": {
    "r": 159,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 331.091,
    "s": 52.885,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.15349,
    "h": 354.6
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#9F3166
secondary
#6FBD97
accent
#DC974C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #9F3166

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

Preview Lab → · Contrast checker → · Palette generator →

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