#9F1B77#9F1B77

#9F1B77 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.187 H 344.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9F1B77
RGBrgb(159, 27, 119)
HSLhsl(318, 71%, 36%)
HSVhsv(318, 83%, 62%)
CMYKcmyk(0%, 83%, 25.2%, 37.6%)
CIE-LABlab(36.91, 59.19, -19.21)
CIE-LCHlch(36.91, 62.23, 342.01°)
OKLaboklab(48.1% 0.1793 -0.0514)
OKLCHoklch(48.1% 0.187 344)
XYZxyz(18.0206, 9.4887, 18.3317)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B77 #1B9F43
analogous
#851B9F #9F1B77 #9F1B35
triadic
#9F1B77 #779F1B #1B779F
tetradic
#9F1B77 #9F851B #1B9F43 #1B359F
square
#9F1B77 #9F851B #1B9F43 #1B359F
split-complementary
#9F1B77 #359F1B #1B9F85
monochromatic
#360929 #6B1250 #9F1B77 #D3249E #E253B6

Accessibility & contrast

On white

7.25
#9F1B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9F1B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B77
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B77#FFFFFF#000000##FFFFFF
##9F1B771.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4979
Deuteranopia (green-blind)
#575F74
Tritanopia (blue-blind)
#AA1A48
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1b77;
/* rgb */ color: rgb(159, 27, 119);
/* oklch */ color: oklch(48.1% 0.187 344.0);
Tailwind
colors: {
  custom: {
    50: '#c0699e',
    500: '#9f1b77',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b77;
$custom-light: #c0699e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b77",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 119
  },
  "hsl": {
    "h": 318.182,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48095,
    "c": 0.18653,
    "h": 344
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#9F1B77
secondary
#51C574
accent
#EE713A
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1B77

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

Preview Lab → · Contrast checker → · Palette generator →

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