#9F1A6C#9F1A6C

#9F1A6C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.181 H 349.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#9F1A6C
RGBrgb(159, 26, 108)
HSLhsl(323, 72%, 36%)
HSVhsv(323, 84%, 62%)
CMYKcmyk(0%, 83.6%, 32.1%, 37.6%)
CIE-LABlab(36.36, 58.10, -13.13)
CIE-LCHlch(36.36, 59.56, 347.27°)
OKLaboklab(47.54% 0.1779 -0.0344)
OKLCHoklch(47.54% 0.181 349.1)
XYZxyz(17.3752, 9.1945, 15.0442)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A6C #1A9F4D
analogous
#901A9F #9F1A6C #9F1A29
triadic
#9F1A6C #6C9F1A #1A6C9F
tetradic
#9F1A6C #9F901A #1A9F4D #1A299F
square
#9F1A6C #9F901A #1A9F4D #1A299F
split-complementary
#9F1A6C #299F1A #1A9F90
monochromatic
#360925 #6A1148 #9F1A6C #D42390 #E351AB

Accessibility & contrast

On white

7.40
#9F1A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9F1A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A6C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A6C#FFFFFF#000000##FFFFFF
##9F1A6C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33476E
Deuteranopia (green-blind)
#5A5E69
Tritanopia (blue-blind)
#AB0E42
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1a6c;
/* rgb */ color: rgb(159, 26, 108);
/* oklch */ color: oklch(47.5% 0.181 349.1);
Tailwind
colors: {
  custom: {
    50: '#c06896',
    500: '#9f1a6c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a6c;
$custom-light: #c06896;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a6c",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 323.008,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.18123,
    "h": 349.1
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#9F1A6C
secondary
#50C57D
accent
#EF7F39
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9F1A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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