#9F1D7F#9F1D7F

#9F1D7F is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 340.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F1D7F
RGBrgb(159, 29, 127)
HSLhsl(315, 69%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 81.8%, 20.1%, 37.6%)
CIE-LABlab(37.45, 59.73, -23.37)
CIE-LCHlch(37.45, 64.14, 338.63°)
OKLaboklab(48.61% 0.1789 -0.0631)
OKLCHoklch(48.61% 0.19 340.6)
XYZxyz(18.5688, 9.7839, 20.9851)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D7F #1D9F3D
analogous
#7E1D9F #9F1D7F #9F1D3E
triadic
#9F1D7F #7F9F1D #1D7F9F
tetradic
#9F1D7F #9F7E1D #1D9F3D #1D3E9F
square
#9F1D7F #9F7E1D #1D9F3D #1D3E9F
split-complementary
#9F1D7F #3E9F1D #1D9F7E
monochromatic
#370A2C #6B1456 #9F1D7F #D326A8 #E056BE

Accessibility & contrast

On white

7.10
#9F1D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F1D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D7F
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D7F#FFFFFF#000000##FFFFFF
##9F1D7F1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#545F7C
Tritanopia (blue-blind)
#A9214D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1d7f;
/* rgb */ color: rgb(159, 29, 127);
/* oklch */ color: oklch(48.6% 0.190 340.6);
Tailwind
colors: {
  custom: {
    50: '#c06aa4',
    500: '#9f1d7f',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d7f;
$custom-light: #c06aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d7f",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 314.769,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48607,
    "c": 0.18973,
    "h": 340.6
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#9F1D7F
secondary
#54C470
accent
#EC673C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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