#9F1D89#9F1D89

#9F1D89 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 336.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F1D89
RGBrgb(159, 29, 137)
HSLhsl(310, 69%, 37%)
HSVhsv(310, 82%, 62%)
CMYKcmyk(0%, 81.8%, 13.8%, 37.6%)
CIE-LABlab(37.95, 61.12, -28.78)
CIE-LCHlch(37.95, 67.56, 334.78°)
OKLaboklab(49.12% 0.1799 -0.0785)
OKLCHoklch(49.12% 0.196 336.4)
XYZxyz(19.2532, 10.0576, 24.5894)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D89 #1D9F33
analogous
#741D9F #9F1D89 #9F1D48
triadic
#9F1D89 #899F1D #1D899F
tetradic
#9F1D89 #9F741D #1D9F33 #1D489F
square
#9F1D89 #9F741D #1D9F33 #1D489F
split-complementary
#9F1D89 #489F1D #1D9F74
monochromatic
#370A30 #6B145C #9F1D89 #D326B6 #E056C9

Accessibility & contrast

On white

6.97
#9F1D89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F1D89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1D89
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D89#FFFFFF#000000##FFFFFF
##9F1D891.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A82853
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1d89;
/* rgb */ color: rgb(159, 29, 137);
/* oklch */ color: oklch(49.1% 0.196 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9f1d89',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d89;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d89",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 310.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49122,
    "c": 0.19629,
    "h": 336.4
  },
  "luminance": 0.10056
}

Semantic roles & 50–950 ramp

primary
#9F1D89
secondary
#54C467
accent
#EC5A3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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