#9F1A5F#9F1A5F

#9F1A5F is a mid, vivid pink. Relative luminance 0.089; OKLCH L 47.0% C 0.175 H 355.4°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9F1A5F
RGBrgb(159, 26, 95)
HSLhsl(329, 72%, 36%)
HSVhsv(329, 84%, 62%)
CMYKcmyk(0%, 83.6%, 40.3%, 37.6%)
CIE-LABlab(35.86, 56.68, -5.58)
CIE-LCHlch(35.86, 56.96, 354.38°)
OKLaboklab(47.03% 0.1745 -0.014)
OKLCHoklch(47.03% 0.175 355.4)
XYZxyz(16.7342, 8.9381, 11.6683)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A5F #1A9F5A
analogous
#9D1A9F #9F1A5F #9F1A1D
triadic
#9F1A5F #5F9F1A #1A5F9F
tetradic
#9F1A5F #9F9D1A #1A9F5A #1A1D9F
square
#9F1A5F #9F9D1A #1A9F5A #1A1D9F
split-complementary
#9F1A5F #1D9F1A #1A9F9D
monochromatic
#360920 #6A1140 #9F1A5F #D4237E #E3519C

Accessibility & contrast

On white

7.53
#9F1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9F1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A5F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A5F#FFFFFF#000000##FFFFFF
##9F1A5F1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384561
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#AC003B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9f1a5f;
/* rgb */ color: rgb(159, 26, 95);
/* oklch */ color: oklch(47.0% 0.175 355.4);
Tailwind
colors: {
  custom: {
    50: '#c1688c',
    500: '#9f1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a5f;
$custom-light: #c1688c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a5f",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 328.872,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47025,
    "c": 0.17509,
    "h": 355.4
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#9F1A5F
secondary
#50C588
accent
#EF9039
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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