#9F1C81#9F1C81

#9F1C81 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.192 H 339.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F1C81
RGBrgb(159, 28, 129)
HSLhsl(314, 70%, 37%)
HSVhsv(314, 82%, 62%)
CMYKcmyk(0%, 82.4%, 18.9%, 37.6%)
CIE-LABlab(37.46, 60.25, -24.60)
CIE-LCHlch(37.46, 65.08, 337.79°)
OKLaboklab(48.64% 0.1799 -0.0666)
OKLCHoklch(48.64% 0.192 339.7)
XYZxyz(18.6763, 9.7883, 21.6704)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C81 #1C9F3A
analogous
#7B1C9F #9F1C81 #9F1C40
triadic
#9F1C81 #819F1C #1C819F
tetradic
#9F1C81 #9F7B1C #1C9F3A #1C409F
square
#9F1C81 #9F7B1C #1C9F3A #1C409F
split-complementary
#9F1C81 #409F1C #1C9F7B
monochromatic
#370A2D #6B1357 #9F1C81 #D325AB #E154C1

Accessibility & contrast

On white

7.10
#9F1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1C81
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C81#FFFFFF#000000##FFFFFF
##9F1C811.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B84
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#A9224E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c81;
/* rgb */ color: rgb(159, 28, 129);
/* oklch */ color: oklch(48.6% 0.192 339.7);
Tailwind
colors: {
  custom: {
    50: '#c06aa6',
    500: '#9f1c81',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c81;
$custom-light: #c06aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c81",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 313.74,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48644,
    "c": 0.19186,
    "h": 339.7
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#9F1C81
secondary
#53C46D
accent
#ED643B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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