#9F1B87#9F1B87

#9F1B87 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.197 H 337.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F1B87
RGBrgb(159, 27, 135)
HSLhsl(311, 71%, 36%)
HSVhsv(311, 83%, 62%)
CMYKcmyk(0%, 83%, 15.1%, 37.6%)
CIE-LABlab(37.67, 61.33, -27.98)
CIE-LCHlch(37.67, 67.41, 335.48°)
OKLaboklab(48.89% 0.1812 -0.0762)
OKLCHoklch(48.89% 0.197 337.2)
XYZxyz(19.0636, 9.9059, 23.8250)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B87 #1B9F33
analogous
#751B9F #9F1B87 #9F1B45
triadic
#9F1B87 #879F1B #1B879F
tetradic
#9F1B87 #9F751B #1B9F33 #1B459F
square
#9F1B87 #9F751B #1B9F33 #1B459F
split-complementary
#9F1B87 #459F1B #1B9F75
monochromatic
#36092E #6B125B #9F1B87 #D324B3 #E253C8

Accessibility & contrast

On white

7.05
#9F1B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F1B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B87#FFFFFF#000000##FFFFFF
##9F1B871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A82551
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1b87;
/* rgb */ color: rgb(159, 27, 135);
/* oklch */ color: oklch(48.9% 0.197 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9f1b87',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b87",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 310.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.1966,
    "h": 337.2
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#9F1B87
secondary
#51C566
accent
#EE5B3A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1B87

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

Preview Lab → · Contrast checker → · Palette generator →

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