#9F1D80#9F1D80

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

Color values

HEX#9F1D80
RGBrgb(159, 29, 128)
HSLhsl(314, 69%, 37%)
HSVhsv(314, 82%, 62%)
CMYKcmyk(0%, 81.8%, 19.5%, 37.6%)
CIE-LABlab(37.50, 59.86, -23.92)
CIE-LCHlch(37.50, 64.46, 338.22°)
OKLaboklab(48.66% 0.179 -0.0646)
OKLCHoklch(48.66% 0.19 340.1)
XYZxyz(18.6343, 9.8101, 21.3301)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D80 #1D9F3C
analogous
#7D1D9F #9F1D80 #9F1D3F
triadic
#9F1D80 #809F1D #1D809F
tetradic
#9F1D80 #9F7D1D #1D9F3C #1D3F9F
square
#9F1D80 #9F7D1D #1D9F3C #1D3F9F
split-complementary
#9F1D80 #3F9F1D #1D9F7D
monochromatic
#370A2D #6B1456 #9F1D80 #D326AA #E056BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F1D80#FFFFFF#000000##FFFFFF
##9F1D801.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)
#284B83
Deuteranopia (green-blind)
#545F7D
Tritanopia (blue-blind)
#A9224E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1d80;
/* rgb */ color: rgb(159, 29, 128);
/* oklch */ color: oklch(48.7% 0.190 340.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aa5',
    500: '#9f1d80',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d80;
$custom-light: #bf6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d80",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 314.308,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48656,
    "c": 0.19036,
    "h": 340.1
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#9F1D80
secondary
#54C46F
accent
#EC663C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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