#9F1C78#9F1C78

#9F1C78 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 343.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F1C78
RGBrgb(159, 28, 120)
HSLhsl(318, 70%, 37%)
HSVhsv(318, 82%, 62%)
CMYKcmyk(0%, 82.4%, 24.5%, 37.6%)
CIE-LABlab(37.04, 59.06, -19.64)
CIE-LCHlch(37.04, 62.24, 341.61°)
OKLaboklab(48.2% 0.1787 -0.0525)
OKLCHoklch(48.2% 0.186 343.6)
XYZxyz(18.1042, 9.5595, 18.6574)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C78 #1C9F43
analogous
#851C9F #9F1C78 #9F1C36
triadic
#9F1C78 #789F1C #1C789F
tetradic
#9F1C78 #9F851C #1C9F43 #1C369F
square
#9F1C78 #9F851C #1C9F43 #1C369F
split-complementary
#9F1C78 #369F1C #1C9F85
monochromatic
#370A29 #6B1351 #9F1C78 #D3259F #E154B7

Accessibility & contrast

On white

7.21
#9F1C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9F1C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F1C78
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C78#FFFFFF#000000##FFFFFF
##9F1C781.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D497A
Deuteranopia (green-blind)
#575F75
Tritanopia (blue-blind)
#AA1C49
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9f1c78;
/* rgb */ color: rgb(159, 28, 120);
/* oklch */ color: oklch(48.2% 0.186 343.6);
Tailwind
colors: {
  custom: {
    50: '#c0699f',
    500: '#9f1c78',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c78;
$custom-light: #c0699f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c78",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 317.863,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48204,
    "c": 0.18628,
    "h": 343.6
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#9F1C78
secondary
#53C474
accent
#ED703B
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F1C78

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

Preview Lab → · Contrast checker → · Palette generator →

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