#9F1B73#9F1B73

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

Color values

HEX#9F1B73
RGBrgb(159, 27, 115)
HSLhsl(320, 71%, 36%)
HSVhsv(320, 83%, 62%)
CMYKcmyk(0%, 83%, 27.7%, 37.6%)
CIE-LABlab(36.73, 58.69, -16.97)
CIE-LCHlch(36.73, 61.09, 343.87°)
OKLaboklab(47.91% 0.1786 -0.0451)
OKLCHoklch(47.91% 0.184 345.8)
XYZxyz(17.7854, 9.3946, 17.0931)
Luminance0.0939 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B73 #1B9F47
analogous
#891B9F #9F1B73 #9F1B31
triadic
#9F1B73 #739F1B #1B739F
tetradic
#9F1B73 #9F891B #1B9F47 #1B319F
square
#9F1B73 #9F891B #1B9F47 #1B319F
split-complementary
#9F1B73 #319F1B #1B9F89
monochromatic
#360927 #6B124D #9F1B73 #D32499 #E253B2

Accessibility & contrast

On white

7.30
#9F1B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1B73
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B73#FFFFFF#000000##FFFFFF
##9F1B731.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304875
Deuteranopia (green-blind)
#585E70
Tritanopia (blue-blind)
#AA1746
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1b73;
/* rgb */ color: rgb(159, 27, 115);
/* oklch */ color: oklch(47.9% 0.184 345.8);
Tailwind
colors: {
  custom: {
    50: '#c0699b',
    500: '#9f1b73',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b73;
$custom-light: #c0699b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b73",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 115
  },
  "hsl": {
    "h": 320,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47911,
    "c": 0.18421,
    "h": 345.8
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#9F1B73
secondary
#51C578
accent
#EE763A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1B73

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

Preview Lab → · Contrast checker → · Palette generator →

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