#9F1D63#9F1D63

#9F1D63 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.174 H 353.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9F1D63
RGBrgb(159, 29, 99)
HSLhsl(328, 69%, 37%)
HSVhsv(328, 82%, 62%)
CMYKcmyk(0%, 81.8%, 37.7%, 37.6%)
CIE-LABlab(36.28, 56.33, -7.52)
CIE-LCHlch(36.28, 56.83, 352.40°)
OKLaboklab(47.37% 0.1732 -0.0192)
OKLCHoklch(47.37% 0.174 353.7)
XYZxyz(16.9907, 9.1527, 12.6739)
Luminance0.0915 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D63 #1D9F59
analogous
#9A1D9F #9F1D63 #9F1D22
triadic
#9F1D63 #639F1D #1D639F
tetradic
#9F1D63 #9F9A1D #1D9F59 #1D229F
square
#9F1D63 #9F9A1D #1D9F59 #1D229F
split-complementary
#9F1D63 #229F1D #1D9F9A
monochromatic
#370A23 #6B1443 #9F1D63 #D32683 #E056A1

Accessibility & contrast

On white

7.42
#9F1D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9F1D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D63
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D63#FFFFFF#000000##FFFFFF
##9F1D631.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384665
Deuteranopia (green-blind)
#5D5E60
Tritanopia (blue-blind)
#AC093E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1d63;
/* rgb */ color: rgb(159, 29, 99);
/* oklch */ color: oklch(47.4% 0.174 353.7);
Tailwind
colors: {
  custom: {
    50: '#c0698f',
    500: '#9f1d63',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d63;
$custom-light: #c0698f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d63",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 327.692,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47372,
    "c": 0.17429,
    "h": 353.7
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#9F1D63
secondary
#54C488
accent
#EC8D3C
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F1D63

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

Preview Lab → · Contrast checker → · Palette generator →

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