#9F1B7F#9F1B7F

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

Color values

HEX#9F1B7F
RGBrgb(159, 27, 127)
HSLhsl(315, 71%, 36%)
HSVhsv(315, 83%, 62%)
CMYKcmyk(0%, 83%, 20.1%, 37.6%)
CIE-LABlab(37.28, 60.23, -23.64)
CIE-LCHlch(37.28, 64.70, 338.57°)
OKLaboklab(48.48% 0.1805 -0.0638)
OKLCHoklch(48.48% 0.191 340.5)
XYZxyz(18.5214, 9.6890, 20.9693)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B7F #1B9F3B
analogous
#7D1B9F #9F1B7F #9F1B3D
triadic
#9F1B7F #7F9F1B #1B7F9F
tetradic
#9F1B7F #9F7D1B #1B9F3B #1B3D9F
square
#9F1B7F #9F7D1B #1B9F3B #1B3D9F
split-complementary
#9F1B7F #3D9F1B #1B9F7D
monochromatic
#36092B #6B1255 #9F1B7F #D324A9 #E253BF

Accessibility & contrast

On white

7.15
#9F1B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B7F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B7F#FFFFFF#000000##FFFFFF
##9F1B7F1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A82
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A9204D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1b7f;
/* rgb */ color: rgb(159, 27, 127);
/* oklch */ color: oklch(48.5% 0.191 340.5);
Tailwind
colors: {
  custom: {
    50: '#c069a4',
    500: '#9f1b7f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b7f;
$custom-light: #c069a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b7f",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 314.545,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48482,
    "c": 0.19142,
    "h": 340.5
  },
  "luminance": 0.09687
}

Semantic roles & 50–950 ramp

primary
#9F1B7F
secondary
#51C56D
accent
#EE663A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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