#9F1D71#9F1D71

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

Color values

HEX#9F1D71
RGBrgb(159, 29, 113)
HSLhsl(321, 69%, 37%)
HSVhsv(321, 82%, 62%)
CMYKcmyk(0%, 81.8%, 28.9%, 37.6%)
CIE-LABlab(36.83, 57.93, -15.57)
CIE-LCHlch(36.83, 59.99, 344.96°)
OKLaboklab(47.95% 0.1766 -0.0412)
OKLCHoklch(47.95% 0.181 346.9)
XYZxyz(17.7190, 9.4440, 16.5093)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D71 #1D9F4B
analogous
#8C1D9F #9F1D71 #9F1D30
triadic
#9F1D71 #719F1D #1D719F
tetradic
#9F1D71 #9F8C1D #1D9F4B #1D309F
square
#9F1D71 #9F8C1D #1D9F4B #1D309F
split-complementary
#9F1D71 #309F1D #1D9F8C
monochromatic
#370A27 #6B144C #9F1D71 #D32696 #E056AF

Accessibility & contrast

On white

7.27
#9F1D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9F1D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D71
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D71#FFFFFF#000000##FFFFFF
##9F1D711.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324973
Deuteranopia (green-blind)
#595F6E
Tritanopia (blue-blind)
#AB1745
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1d71;
/* rgb */ color: rgb(159, 29, 113);
/* oklch */ color: oklch(47.9% 0.181 346.9);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1d71',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d71;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d71",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 113
  },
  "hsl": {
    "h": 321.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4795,
    "c": 0.18137,
    "h": 346.9
  },
  "luminance": 0.09442
}

Semantic roles & 50–950 ramp

primary
#9F1D71
secondary
#54C47C
accent
#EC7A3C
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1D71

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

Preview Lab → · Contrast checker → · Palette generator →

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