#9F1B88#9F1B88

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

Color values

HEX#9F1B88
RGBrgb(159, 27, 136)
HSLhsl(310, 71%, 36%)
HSVhsv(310, 83%, 62%)
CMYKcmyk(0%, 83%, 14.5%, 37.6%)
CIE-LABlab(37.72, 61.47, -28.52)
CIE-LCHlch(37.72, 67.76, 335.11°)
OKLaboklab(48.95% 0.1813 -0.0778)
OKLCHoklch(48.95% 0.197 336.8)
XYZxyz(19.1343, 9.9342, 24.1976)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B88 #1B9F32
analogous
#741B9F #9F1B88 #9F1B46
triadic
#9F1B88 #889F1B #1B889F
tetradic
#9F1B88 #9F741B #1B9F32 #1B469F
square
#9F1B88 #9F741B #1B9F32 #1B469F
split-complementary
#9F1B88 #469F1B #1B9F74
monochromatic
#36092F #6B125B #9F1B88 #D324B5 #E253C9

Accessibility & contrast

On white

7.03
#9F1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B88
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B88#FFFFFF#000000##FFFFFF
##9F1B881.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4C8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A82652
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1b88;
/* rgb */ color: rgb(159, 27, 136);
/* oklch */ color: oklch(48.9% 0.197 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf6aab',
    500: '#9f1b88',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b88;
$custom-light: #bf6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b88",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 310.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.19727,
    "h": 336.8
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#9F1B88
secondary
#51C565
accent
#EE593A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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