#9F1A72#9F1A72

#9F1A72 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.184 H 346.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F1A72
RGBrgb(159, 26, 114)
HSLhsl(320, 72%, 36%)
HSVhsv(320, 84%, 62%)
CMYKcmyk(0%, 83.6%, 28.3%, 37.6%)
CIE-LABlab(36.61, 58.81, -16.54)
CIE-LCHlch(36.61, 61.09, 344.29°)
OKLaboklab(47.81% 0.1792 -0.0439)
OKLCHoklch(47.81% 0.184 346.2)
XYZxyz(17.7056, 9.3267, 16.7841)
Luminance0.0932 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1A72 #1A9F47
analogous
#8A1A9F #9F1A72 #9F1A30
triadic
#9F1A72 #729F1A #1A729F
tetradic
#9F1A72 #9F8A1A #1A9F47 #1A309F
square
#9F1A72 #9F8A1A #1A9F47 #1A309F
split-complementary
#9F1A72 #309F1A #1A9F8A
monochromatic
#360927 #6A114C #9F1A72 #D42398 #E351B1

Accessibility & contrast

On white

7.33
#9F1A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F1A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1A72
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1A72#FFFFFF#000000##FFFFFF
##9F1A721.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304874
Deuteranopia (green-blind)
#585E6F
Tritanopia (blue-blind)
#AA1545
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f1a72;
/* rgb */ color: rgb(159, 26, 114);
/* oklch */ color: oklch(47.8% 0.184 346.2);
Tailwind
colors: {
  custom: {
    50: '#c0699a',
    500: '#9f1a72',
    950: '#000000',
  },
}
SCSS
$custom: #9f1a72;
$custom-light: #c0699a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1a72",
  "rgb": {
    "r": 159,
    "g": 26,
    "b": 114
  },
  "hsl": {
    "h": 320.301,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47805,
    "c": 0.18447,
    "h": 346.2
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#9F1A72
secondary
#50C577
accent
#EF7739
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1A72

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

Preview Lab → · Contrast checker → · Palette generator →

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