#9F1C7E#9F1C7E

#9F1C7E is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.190 H 341.0°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9F1C7E
RGBrgb(159, 28, 126)
HSLhsl(315, 70%, 37%)
HSVhsv(315, 82%, 62%)
CMYKcmyk(0%, 82.4%, 20.8%, 37.6%)
CIE-LABlab(37.32, 59.85, -22.96)
CIE-LCHlch(37.32, 64.10, 339.01°)
OKLaboklab(48.49% 0.1796 -0.0619)
OKLCHoklch(48.49% 0.19 341)
XYZxyz(18.4798, 9.7097, 20.6356)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C7E #1C9F3D
analogous
#7F1C9F #9F1C7E #9F1C3C
triadic
#9F1C7E #7E9F1C #1C7E9F
tetradic
#9F1C7E #9F7F1C #1C9F3D #1C3C9F
square
#9F1C7E #9F7F1C #1C9F3D #1C3C9F
split-complementary
#9F1C7E #3C9F1C #1C9F7F
monochromatic
#370A2C #6B1355 #9F1C7E #D325A7 #E154BE

Accessibility & contrast

On white

7.14
#9F1C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9F1C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C7E
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C7E#FFFFFF#000000##FFFFFF
##9F1C7E1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A9204C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c7e;
/* rgb */ color: rgb(159, 28, 126);
/* oklch */ color: oklch(48.5% 0.190 341.0);
Tailwind
colors: {
  custom: {
    50: '#c06aa3',
    500: '#9f1c7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c7e;
$custom-light: #c06aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c7e",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 126
  },
  "hsl": {
    "h": 315.115,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.18996,
    "h": 341
  },
  "luminance": 0.09708
}

Semantic roles & 50–950 ramp

primary
#9F1C7E
secondary
#53C46F
accent
#ED683B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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