#9F1988#9F1988

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

Color values

HEX#9F1988
RGBrgb(159, 25, 136)
HSLhsl(310, 73%, 36%)
HSVhsv(310, 84%, 62%)
CMYKcmyk(0%, 84.3%, 14.5%, 37.6%)
CIE-LABlab(37.56, 61.94, -28.77)
CIE-LCHlch(37.56, 68.29, 335.09°)
OKLaboklab(48.83% 0.1827 -0.0785)
OKLCHoklch(48.83% 0.199 336.8)
XYZxyz(19.0900, 9.8456, 24.1828)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1988 #199F30
analogous
#73199F #9F1988 #9F1945
triadic
#9F1988 #889F19 #19889F
tetradic
#9F1988 #9F7319 #199F30 #19459F
square
#9F1988 #9F7319 #199F30 #19459F
split-complementary
#9F1988 #459F19 #199F73
monochromatic
#35082E #6A115B #9F1988 #D421B5 #E34FCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1988#FFFFFF#000000##FFFFFF
##9F19881.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)
#1D4C8B
Deuteranopia (green-blind)
#505F85
Tritanopia (blue-blind)
#A82551
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1988;
/* rgb */ color: rgb(159, 25, 136);
/* oklch */ color: oklch(48.8% 0.199 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf69ab',
    500: '#9f1988',
    950: '#000000',
  },
}
SCSS
$custom: #9f1988;
$custom-light: #bf69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1988",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 310.299,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.19882,
    "h": 336.8
  },
  "luminance": 0.09844
}

Semantic roles & 50–950 ramp

primary
#9F1988
secondary
#4EC663
accent
#F05838
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1988

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

Preview Lab → · Contrast checker → · Palette generator →

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