#9F1B7C#9F1B7C

#9F1B7C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 341.8°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9F1B7C
RGBrgb(159, 27, 124)
HSLhsl(316, 71%, 36%)
HSVhsv(316, 83%, 62%)
CMYKcmyk(0%, 83%, 22%, 37.6%)
CIE-LABlab(37.14, 59.83, -21.99)
CIE-LCHlch(37.14, 63.74, 339.82°)
OKLaboklab(48.33% 0.1801 -0.0592)
OKLCHoklch(48.33% 0.19 341.8)
XYZxyz(18.3288, 9.6120, 19.9549)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1B7C #1B9F3E
analogous
#801B9F #9F1B7C #9F1B3A
triadic
#9F1B7C #7C9F1B #1B7C9F
tetradic
#9F1B7C #9F801B #1B9F3E #1B3A9F
square
#9F1B7C #9F801B #1B9F3E #1B3A9F
split-complementary
#9F1B7C #3A9F1B #1B9F80
monochromatic
#36092A #6B1253 #9F1B7C #D324A5 #E253BC

Accessibility & contrast

On white

7.19
#9F1B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9F1B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1B7C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1B7C#FFFFFF#000000##FFFFFF
##9F1B7C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A91E4B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1b7c;
/* rgb */ color: rgb(159, 27, 124);
/* oklch */ color: oklch(48.3% 0.190 341.8);
Tailwind
colors: {
  custom: {
    50: '#c069a2',
    500: '#9f1b7c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1b7c;
$custom-light: #c069a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1b7c",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 315.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48334,
    "c": 0.18955,
    "h": 341.8
  },
  "luminance": 0.0961
}

Semantic roles & 50–950 ramp

primary
#9F1B7C
secondary
#51C570
accent
#EE6A3A
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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