#9F1D7E#9F1D7E

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

Color values

HEX#9F1D7E
RGBrgb(159, 29, 126)
HSLhsl(315, 69%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 81.8%, 20.8%, 37.6%)
CIE-LABlab(37.40, 59.60, -22.82)
CIE-LCHlch(37.40, 63.81, 339.05°)
OKLaboklab(48.56% 0.1788 -0.0615)
OKLCHoklch(48.56% 0.189 341)
XYZxyz(18.5040, 9.7580, 20.6436)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1D7E #1D9F3E
analogous
#7F1D9F #9F1D7E #9F1D3D
triadic
#9F1D7E #7E9F1D #1D7E9F
tetradic
#9F1D7E #9F7F1D #1D9F3E #1D3D9F
square
#9F1D7E #9F7F1D #1D9F3E #1D3D9F
split-complementary
#9F1D7E #3D9F1D #1D9F7F
monochromatic
#370A2C #6B1455 #9F1D7E #D326A7 #E056BD

Accessibility & contrast

On white

7.12
#9F1D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F1D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1D7E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1D7E#FFFFFF#000000##FFFFFF
##9F1D7E1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A9214D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1d7e;
/* rgb */ color: rgb(159, 29, 126);
/* oklch */ color: oklch(48.6% 0.189 341.0);
Tailwind
colors: {
  custom: {
    50: '#c06aa3',
    500: '#9f1d7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1d7e;
$custom-light: #c06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1d7e",
  "rgb": {
    "r": 159,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 315.231,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48557,
    "c": 0.18909,
    "h": 341
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F1D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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