#9F1D62#9F1D62

#9F1D62 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.174 H 354.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#9F1D62
RGBrgb(159, 29, 98)
HSLhsl(328, 69%, 37%)
HSVhsv(328, 82%, 62%)
CMYKcmyk(0%, 81.8%, 38.4%, 37.6%)
CIE-LABlab(36.24, 56.22, -6.94)
CIE-LCHlch(36.24, 56.65, 352.97°)
OKLaboklab(47.33% 0.173 -0.0176)
OKLCHoklch(47.33% 0.174 354.2)
XYZxyz(16.9432, 9.1337, 12.4237)
Luminance0.0913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D62 #1D9F5A
analogous
#9B1D9F #9F1D62 #9F1D21
triadic
#9F1D62 #629F1D #1D629F
tetradic
#9F1D62 #9F9B1D #1D9F5A #1D219F
square
#9F1D62 #9F9B1D #1D9F5A #1D219F
split-complementary
#9F1D62 #219F1D #1D9F9B
monochromatic
#370A22 #6B1442 #9F1D62 #D32682 #E0569F

Accessibility & contrast

On white

7.43
#9F1D62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F1D62
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D62#FFFFFF#000000##FFFFFF
##9F1D621.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5D5E5F
Tritanopia (blue-blind)
#AC083D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f1d62;
/* rgb */ color: rgb(159, 29, 98);
/* oklch */ color: oklch(47.3% 0.174 354.2);
Tailwind
colors: {
  custom: {
    50: '#c0698e',
    500: '#9f1d62',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d62;
$custom-light: #c0698e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d62",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 98
  },
  "hsl": {
    "h": 328.154,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.17385,
    "h": 354.2
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1D62

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

Preview Lab → · Contrast checker → · Palette generator →

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