#9F1A85#9F1A85

#9F1A85 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 338.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9F1A85
RGBrgb(159, 26, 133)
HSLhsl(312, 72%, 36%)
HSVhsv(312, 84%, 62%)
CMYKcmyk(0%, 83.6%, 16.4%, 37.6%)
CIE-LABlab(37.49, 61.29, -27.03)
CIE-LCHlch(37.49, 66.98, 336.20°)
OKLaboklab(48.73% 0.1818 -0.0735)
OKLCHoklch(48.73% 0.196 338)
XYZxyz(18.9016, 9.8051, 23.0829)
Luminance0.0980 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A85 #1A9F34
analogous
#771A9F #9F1A85 #9F1A43
triadic
#9F1A85 #859F1A #1A859F
tetradic
#9F1A85 #9F771A #1A9F34 #1A439F
square
#9F1A85 #9F771A #1A9F34 #1A439F
split-complementary
#9F1A85 #439F1A #1A9F77
monochromatic
#36092D #6A1159 #9F1A85 #D423B1 #E351C6

Accessibility & contrast

On white

7.09
#9F1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A85
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A85#FFFFFF#000000##FFFFFF
##9F1A851.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B88
Deuteranopia (green-blind)
#515F82
Tritanopia (blue-blind)
#A82350
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1a85;
/* rgb */ color: rgb(159, 26, 133);
/* oklch */ color: oklch(48.7% 0.196 338.0);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#9f1a85',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a85;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a85",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 311.729,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.19608,
    "h": 338
  },
  "luminance": 0.09803
}

Semantic roles & 50–950 ramp

primary
#9F1A85
secondary
#50C567
accent
#EF5D39
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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