#9F1B85#9F1B85

#9F1B85 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.8% C 0.195 H 338.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F1B85
RGBrgb(159, 27, 133)
HSLhsl(312, 71%, 36%)
HSVhsv(312, 83%, 62%)
CMYKcmyk(0%, 83%, 16.4%, 37.6%)
CIE-LABlab(37.57, 61.05, -26.90)
CIE-LCHlch(37.57, 66.71, 336.22°)
OKLaboklab(48.79% 0.1811 -0.0732)
OKLCHoklch(48.79% 0.195 338)
XYZxyz(18.9241, 9.8501, 23.0904)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B85 #1B9F35
analogous
#771B9F #9F1B85 #9F1B43
triadic
#9F1B85 #859F1B #1B859F
tetradic
#9F1B85 #9F771B #1B9F35 #1B439F
square
#9F1B85 #9F771B #1B9F35 #1B439F
split-complementary
#9F1B85 #439F1B #1B9F77
monochromatic
#36092D #6B1259 #9F1B85 #D324B1 #E253C6

Accessibility & contrast

On white

7.07
#9F1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B85
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B85#FFFFFF#000000##FFFFFF
##9F1B851.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82450
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1b85;
/* rgb */ color: rgb(159, 27, 133);
/* oklch */ color: oklch(48.8% 0.195 338.0);
Tailwind
colors: {
  custom: {
    50: '#bf6aa9',
    500: '#9f1b85',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b85;
$custom-light: #bf6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b85",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 311.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.19529,
    "h": 338
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#9F1B85
secondary
#51C568
accent
#EE5D3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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