#9F1C72#9F1C72

#9F1C72 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 346.3°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9F1C72
RGBrgb(159, 28, 114)
HSLhsl(321, 70%, 37%)
HSVhsv(321, 82%, 62%)
CMYKcmyk(0%, 82.4%, 28.3%, 37.6%)
CIE-LABlab(36.78, 58.31, -16.27)
CIE-LCHlch(36.78, 60.54, 344.41°)
OKLaboklab(47.93% 0.1776 -0.0431)
OKLCHoklch(47.93% 0.183 346.3)
XYZxyz(17.7515, 9.4184, 16.7994)
Luminance0.0942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C72 #1C9F49
analogous
#8B1C9F #9F1C72 #9F1C31
triadic
#9F1C72 #729F1C #1C729F
tetradic
#9F1C72 #9F8B1C #1C9F49 #1C319F
square
#9F1C72 #9F8B1C #1C9F49 #1C319F
split-complementary
#9F1C72 #319F1C #1C9F8B
monochromatic
#370A27 #6B134D #9F1C72 #D32597 #E154B1

Accessibility & contrast

On white

7.28
#9F1C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F1C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C72
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C72#FFFFFF#000000##FFFFFF
##9F1C721.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#595E6F
Tritanopia (blue-blind)
#AA1746
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1c72;
/* rgb */ color: rgb(159, 28, 114);
/* oklch */ color: oklch(47.9% 0.183 346.3);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1c72',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c72;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c72",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 320.611,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.1828,
    "h": 346.3
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#9F1C72
secondary
#53C47A
accent
#ED783B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C72

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

Preview Lab → · Contrast checker → · Palette generator →

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