#9F1C87#9F1C87

#9F1C87 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 337.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F1C87
RGBrgb(159, 28, 135)
HSLhsl(311, 70%, 37%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 82.4%, 15.1%, 37.6%)
CIE-LABlab(37.76, 61.09, -27.85)
CIE-LCHlch(37.76, 67.13, 335.49°)
OKLaboklab(48.95% 0.1805 -0.0759)
OKLCHoklch(48.95% 0.196 337.2)
XYZxyz(19.0869, 9.9526, 23.8328)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C87 #1C9F34
analogous
#761C9F #9F1C87 #9F1C46
triadic
#9F1C87 #879F1C #1C879F
tetradic
#9F1C87 #9F761C #1C9F34 #1C469F
square
#9F1C87 #9F761C #1C9F34 #1C469F
split-complementary
#9F1C87 #469F1C #1C9F76
monochromatic
#370A2F #6B135B #9F1C87 #D325B3 #E154C7

Accessibility & contrast

On white

7.02
#9F1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C87
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C87#FFFFFF#000000##FFFFFF
##9F1C871.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A82651
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f1c87;
/* rgb */ color: rgb(159, 28, 135);
/* oklch */ color: oklch(49.0% 0.196 337.2);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9f1c87',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c87",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 310.992,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48953,
    "c": 0.19578,
    "h": 337.2
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#9F1C87
secondary
#53C467
accent
#ED5C3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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