#9F1C7C#9F1C7C

#9F1C7C is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.189 H 341.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9F1C7C
RGBrgb(159, 28, 124)
HSLhsl(316, 70%, 37%)
HSVhsv(316, 82%, 62%)
CMYKcmyk(0%, 82.4%, 22%, 37.6%)
CIE-LABlab(37.22, 59.58, -21.86)
CIE-LCHlch(37.22, 63.47, 339.86°)
OKLaboklab(48.4% 0.1793 -0.0588)
OKLCHoklch(48.4% 0.189 341.8)
XYZxyz(18.3521, 9.6586, 19.9627)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C7C #1C9F3F
analogous
#811C9F #9F1C7C #9F1C3A
triadic
#9F1C7C #7C9F1C #1C7C9F
tetradic
#9F1C7C #9F811C #1C9F3F #1C3A9F
square
#9F1C7C #9F811C #1C9F3F #1C3A9F
split-complementary
#9F1C7C #3A9F1C #1C9F81
monochromatic
#370A2B #6B1353 #9F1C7C #D325A5 #E154BB

Accessibility & contrast

On white

7.16
#9F1C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9F1C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C7C
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C7C#FFFFFF#000000##FFFFFF
##9F1C7C1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7E
Deuteranopia (green-blind)
#555F79
Tritanopia (blue-blind)
#A91F4B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f1c7c;
/* rgb */ color: rgb(159, 28, 124);
/* oklch */ color: oklch(48.4% 0.189 341.8);
Tailwind
colors: {
  custom: {
    50: '#c06aa2',
    500: '#9f1c7c',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c7c;
$custom-light: #c06aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c7c",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 316.031,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48396,
    "c": 0.18871,
    "h": 341.8
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#9F1C7C
secondary
#53C471
accent
#ED6A3B
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9F1C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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