#9F1B89#9F1B89

#9F1B89 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.198 H 336.4°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F1B89
RGBrgb(159, 27, 137)
HSLhsl(310, 71%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 83%, 13.8%, 37.6%)
CIE-LABlab(37.78, 61.61, -29.05)
CIE-LCHlch(37.78, 68.12, 334.76°)
OKLaboklab(49% 0.1814 -0.0793)
OKLCHoklch(49% 0.198 336.4)
XYZxyz(19.2057, 9.9628, 24.5736)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B89 #1B9F31
analogous
#731B9F #9F1B89 #9F1B47
triadic
#9F1B89 #899F1B #1B899F
tetradic
#9F1B89 #9F731B #1B9F31 #1B479F
square
#9F1B89 #9F731B #1B9F31 #1B479F
split-complementary
#9F1B89 #479F1B #1B9F73
monochromatic
#36092F #6B125C #9F1B89 #D324B6 #E253CA

Accessibility & contrast

On white

7.02
#9F1B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F1B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B89
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B89#FFFFFF#000000##FFFFFF
##9F1B891.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A82752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1b89;
/* rgb */ color: rgb(159, 27, 137);
/* oklch */ color: oklch(49.0% 0.198 336.4);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9f1b89',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b89;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b89",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 310,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49,
    "c": 0.19794,
    "h": 336.4
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#9F1B89
secondary
#51C564
accent
#EE583A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1B89

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

Preview Lab → · Contrast checker → · Palette generator →

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