#9F2D78#9F2D78

#9F2D78 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.168 H 344.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F2D78
RGBrgb(159, 45, 120)
HSLhsl(321, 56%, 40%)
HSVhsv(321, 72%, 62%)
CMYKcmyk(0%, 71.7%, 24.5%, 37.6%)
CIE-LABlab(38.91, 53.76, -16.76)
CIE-LCHlch(38.91, 56.31, 342.68°)
OKLaboklab(49.56% 0.1623 -0.0446)
OKLCHoklch(49.56% 0.168 344.6)
XYZxyz(18.6273, 10.6057, 18.8318)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D78 #2D9F54
analogous
#8D2D9F #9F2D78 #9F2D3F
triadic
#9F2D78 #789F2D #2D789F
tetradic
#9F2D78 #9F8D2D #2D9F54 #2D3F9F
square
#9F2D78 #9F8D2D #2D9F54 #2D3F9F
split-complementary
#9F2D78 #3F9F2D #2D9F8D
monochromatic
#401230 #6F2054 #9F2D78 #C9409A #D670B3

Accessibility & contrast

On white

6.73
#9F2D78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2D78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D78
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D78#FFFFFF#000000##FFFFFF
##9F2D781.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F7A
Deuteranopia (green-blind)
#5C6375
Tritanopia (blue-blind)
#AA2C4E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2d78;
/* rgb */ color: rgb(159, 45, 120);
/* oklch */ color: oklch(49.6% 0.168 344.6);
Tailwind
colors: {
  custom: {
    50: '#bf709f',
    500: '#9f2d78',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d78;
$custom-light: #bf709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d78",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 320.526,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.16835,
    "h": 344.6
  },
  "luminance": 0.10604
}

Semantic roles & 50–950 ramp

primary
#9F2D78
secondary
#6ABE87
accent
#DF7C49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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