#9F1A5C#9F1A5C

#9F1A5C is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.174 H 356.9°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#9F1A5C
RGBrgb(159, 26, 92)
HSLhsl(330, 72%, 36%)
HSVhsv(330, 84%, 62%)
CMYKcmyk(0%, 83.6%, 42.1%, 37.6%)
CIE-LABlab(35.76, 56.38, -3.80)
CIE-LCHlch(35.76, 56.51, 356.14°)
OKLaboklab(46.92% 0.1736 -0.0093)
OKLCHoklch(46.92% 0.174 356.9)
XYZxyz(16.6005, 8.8846, 10.9639)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A5C #1A9F5D
analogous
#9F1A9F #9F1A5C #9F1B1A
triadic
#9F1A5C #5C9F1A #1A5C9F
tetradic
#9F1A5C #9F9F1A #1A9F5D #1B1A9F
square
#9F1A5C #9F9F1A #1A9F5D #1B1A9F
split-complementary
#9F1A5C #1A9F1B #1A9F9F
monochromatic
#36091F #6A113E #9F1A5C #D4237A #E35199

Accessibility & contrast

On white

7.56
#9F1A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9F1A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A5C
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A5C#FFFFFF#000000##FFFFFF
##9F1A5C1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A445E
Deuteranopia (green-blind)
#5E5D59
Tritanopia (blue-blind)
#AD0039
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a5c;
/* rgb */ color: rgb(159, 26, 92);
/* oklch */ color: oklch(46.9% 0.174 356.9);
Tailwind
colors: {
  custom: {
    50: '#c1688a',
    500: '#9f1a5c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a5c;
$custom-light: #c1688a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a5c",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 92
  },
  "hsl": {
    "h": 330.226,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46916,
    "c": 0.17388,
    "h": 356.9
  },
  "luminance": 0.08882
}

Semantic roles & 50–950 ramp

primary
#9F1A5C
secondary
#50C58B
accent
#EF9539
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F1A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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