#9F1B7E#9F1B7E

#9F1B7E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.191 H 340.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9F1B7E
RGBrgb(159, 27, 126)
HSLhsl(315, 71%, 36%)
HSVhsv(315, 83%, 62%)
CMYKcmyk(0%, 83%, 20.8%, 37.6%)
CIE-LABlab(37.23, 60.10, -23.09)
CIE-LCHlch(37.23, 64.38, 338.98°)
OKLaboklab(48.43% 0.1803 -0.0623)
OKLCHoklch(48.43% 0.191 340.9)
XYZxyz(18.4565, 9.6631, 20.6278)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B7E #1B9F3C
analogous
#7E1B9F #9F1B7E #9F1B3C
triadic
#9F1B7E #7E9F1B #1B7E9F
tetradic
#9F1B7E #9F7E1B #1B9F3C #1B3C9F
square
#9F1B7E #9F7E1B #1B9F3C #1B3C9F
split-complementary
#9F1B7E #3C9F1B #1B9F7E
monochromatic
#36092B #6B1255 #9F1B7E #D324A7 #E253BE

Accessibility & contrast

On white

7.16
#9F1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F1B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B7E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B7E#FFFFFF#000000##FFFFFF
##9F1B7E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A91F4C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1b7e;
/* rgb */ color: rgb(159, 27, 126);
/* oklch */ color: oklch(48.4% 0.191 340.9);
Tailwind
colors: {
  custom: {
    50: '#c069a3',
    500: '#9f1b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b7e;
$custom-light: #c069a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b7e",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 315,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48432,
    "c": 0.19079,
    "h": 340.9
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#9F1B7E
secondary
#51C56E
accent
#EE673A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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