#9F1B71#9F1B71

#9F1B71 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.183 H 346.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9F1B71
RGBrgb(159, 27, 113)
HSLhsl(321, 71%, 36%)
HSVhsv(321, 83%, 62%)
CMYKcmyk(0%, 83%, 28.9%, 37.6%)
CIE-LABlab(36.65, 58.44, -15.84)
CIE-LCHlch(36.65, 60.55, 344.83°)
OKLaboklab(47.82% 0.1782 -0.0419)
OKLCHoklch(47.82% 0.183 346.8)
XYZxyz(17.6715, 9.3491, 16.4935)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B71 #1B9F49
analogous
#8B1B9F #9F1B71 #9F1B2F
triadic
#9F1B71 #719F1B #1B719F
tetradic
#9F1B71 #9F8B1B #1B9F49 #1B2F9F
square
#9F1B71 #9F8B1B #1B9F49 #1B2F9F
split-complementary
#9F1B71 #2F9F1B #1B9F8B
monochromatic
#360927 #6B124C #9F1B71 #D32496 #E253B0

Accessibility & contrast

On white

7.32
#9F1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B71
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B71#FFFFFF#000000##FFFFFF
##9F1B711.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f1b71;
/* rgb */ color: rgb(159, 27, 113);
/* oklch */ color: oklch(47.8% 0.183 346.8);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1b71',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b71;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b71",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 320.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47822,
    "c": 0.1831,
    "h": 346.8
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#9F1B71
secondary
#51C579
accent
#EE793A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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