#9F1B72#9F1B72

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

Color values

HEX#9F1B72
RGBrgb(159, 27, 114)
HSLhsl(320, 71%, 36%)
HSVhsv(320, 83%, 62%)
CMYKcmyk(0%, 83%, 28.3%, 37.6%)
CIE-LABlab(36.69, 58.56, -16.41)
CIE-LCHlch(36.69, 60.82, 344.35°)
OKLaboklab(47.87% 0.1784 -0.0435)
OKLCHoklch(47.87% 0.184 346.3)
XYZxyz(17.7281, 9.3718, 16.7917)
Luminance0.0937 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B72 #1B9F48
analogous
#8A1B9F #9F1B72 #9F1B30
triadic
#9F1B72 #729F1B #1B729F
tetradic
#9F1B72 #9F8A1B #1B9F48 #1B309F
square
#9F1B72 #9F8A1B #1B9F48 #1B309F
split-complementary
#9F1B72 #309F1B #1B9F8A
monochromatic
#360927 #6B124C #9F1B72 #D32498 #E253B1

Accessibility & contrast

On white

7.31
#9F1B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B72
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B72#FFFFFF#000000##FFFFFF
##9F1B721.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#AA1645
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1b72;
/* rgb */ color: rgb(159, 27, 114);
/* oklch */ color: oklch(47.9% 0.184 346.3);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1b72',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b72;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b72",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 320.455,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.18365,
    "h": 346.3
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1B72

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

Preview Lab → · Contrast checker → · Palette generator →

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