#9F1C71#9F1C71

#9F1C71 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.182 H 346.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9F1C71
RGBrgb(159, 28, 113)
HSLhsl(321, 70%, 37%)
HSVhsv(321, 82%, 62%)
CMYKcmyk(0%, 82.4%, 28.9%, 37.6%)
CIE-LABlab(36.74, 58.19, -15.71)
CIE-LCHlch(36.74, 60.28, 344.89°)
OKLaboklab(47.89% 0.1774 -0.0416)
OKLCHoklch(47.89% 0.182 346.8)
XYZxyz(17.6949, 9.3957, 16.5013)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C71 #1C9F4A
analogous
#8C1C9F #9F1C71 #9F1C30
triadic
#9F1C71 #719F1C #1C719F
tetradic
#9F1C71 #9F8C1C #1C9F4A #1C309F
square
#9F1C71 #9F8C1C #1C9F4A #1C309F
split-complementary
#9F1C71 #309F1C #1C9F8C
monochromatic
#370A27 #6B134C #9F1C71 #D32596 #E154B0

Accessibility & contrast

On white

7.29
#9F1C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F1C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C71
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C71#FFFFFF#000000##FFFFFF
##9F1C711.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#595E6E
Tritanopia (blue-blind)
#AB1645
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1c71;
/* rgb */ color: rgb(159, 28, 113);
/* oklch */ color: oklch(47.9% 0.182 346.8);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1c71',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c71;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c71",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 321.069,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.18224,
    "h": 346.8
  },
  "luminance": 0.09394
}

Semantic roles & 50–950 ramp

primary
#9F1C71
secondary
#53C47B
accent
#ED793B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C71

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

Preview Lab → · Contrast checker → · Palette generator →

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