#9F1C7F#9F1C7F

#9F1C7F is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.191 H 340.5°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9F1C7F
RGBrgb(159, 28, 127)
HSLhsl(315, 70%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 82.4%, 20.1%, 37.6%)
CIE-LABlab(37.36, 59.98, -23.50)
CIE-LCHlch(37.36, 64.42, 338.60°)
OKLaboklab(48.54% 0.1797 -0.0635)
OKLCHoklch(48.54% 0.191 340.5)
XYZxyz(18.5447, 9.7357, 20.9771)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C7F #1C9F3C
analogous
#7D1C9F #9F1C7F #9F1C3E
triadic
#9F1C7F #7F9F1C #1C7F9F
tetradic
#9F1C7F #9F7D1C #1C9F3C #1C3E9F
square
#9F1C7F #9F7D1C #1C9F3C #1C3E9F
split-complementary
#9F1C7F #3E9F1C #1C9F7D
monochromatic
#370A2C #6B1355 #9F1C7F #D325A9 #E154BF

Accessibility & contrast

On white

7.13
#9F1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F1C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C7F
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C7F#FFFFFF#000000##FFFFFF
##9F1C7F1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A9214D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c7f;
/* rgb */ color: rgb(159, 28, 127);
/* oklch */ color: oklch(48.5% 0.191 340.5);
Tailwind
colors: {
  custom: {
    50: '#c06aa4',
    500: '#9f1c7f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c7f;
$custom-light: #c06aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c7f",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 314.656,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.19058,
    "h": 340.5
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#9F1C7F
secondary
#53C46E
accent
#ED663B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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