#9F1A88#9F1A88

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

Color values

HEX#9F1A88
RGBrgb(159, 26, 136)
HSLhsl(310, 72%, 36%)
HSVhsv(310, 84%, 62%)
CMYKcmyk(0%, 83.6%, 14.5%, 37.6%)
CIE-LABlab(37.64, 61.71, -28.64)
CIE-LCHlch(37.64, 68.03, 335.10°)
OKLaboklab(48.89% 0.182 -0.0781)
OKLCHoklch(48.89% 0.198 336.8)
XYZxyz(19.1118, 9.8892, 24.1901)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A88 #1A9F31
analogous
#741A9F #9F1A88 #9F1A46
triadic
#9F1A88 #889F1A #1A889F
tetradic
#9F1A88 #9F741A #1A9F31 #1A469F
square
#9F1A88 #9F741A #1A9F31 #1A469F
split-complementary
#9F1A88 #469F1A #1A9F74
monochromatic
#36092E #6A115B #9F1A88 #D423B5 #E351C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1A88#FFFFFF#000000##FFFFFF
##9F1A881.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)
#1E4C8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A82552
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1a88;
/* rgb */ color: rgb(159, 26, 136);
/* oklch */ color: oklch(48.9% 0.198 336.8);
Tailwind
colors: {
  custom: {
    50: '#bf69ab',
    500: '#9f1a88',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a88;
$custom-light: #bf69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a88",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 310.376,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48888,
    "c": 0.19806,
    "h": 336.8
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#9F1A88
secondary
#50C564
accent
#EF5939
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A88

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

Preview Lab → · Contrast checker → · Palette generator →

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