#9F2B78#9F2B78

#9F2B78 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 344.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9F2B78
RGBrgb(159, 43, 120)
HSLhsl(320, 57%, 40%)
HSVhsv(320, 73%, 62%)
CMYKcmyk(0%, 73%, 24.5%, 37.6%)
CIE-LABlab(38.65, 54.48, -17.16)
CIE-LCHlch(38.65, 57.12, 342.52°)
OKLaboklab(49.37% 0.1646 -0.0457)
OKLCHoklch(49.37% 0.171 344.5)
XYZxyz(18.5528, 10.4567, 18.8069)
Luminance0.1046 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B78 #2B9F52
analogous
#8C2B9F #9F2B78 #9F2B3E
triadic
#9F2B78 #789F2B #2B789F
tetradic
#9F2B78 #9F8C2B #2B9F52 #2B3E9F
square
#9F2B78 #9F8C2B #2B9F52 #2B3E9F
split-complementary
#9F2B78 #3E9F2B #2B9F8C
monochromatic
#3F112F #6F1E54 #9F2B78 #CA3D9B #D76DB4

Accessibility & contrast

On white

6.79
#9F2B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F2B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B78
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B78#FFFFFF#000000##FFFFFF
##9F2B781.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7A
Deuteranopia (green-blind)
#5B6275
Tritanopia (blue-blind)
#AA2A4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2b78;
/* rgb */ color: rgb(159, 43, 120);
/* oklch */ color: oklch(49.4% 0.171 344.5);
Tailwind
colors: {
  custom: {
    50: '#bf6f9f',
    500: '#9f2b78',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b78;
$custom-light: #bf6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b78",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 320.172,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49372,
    "c": 0.1708,
    "h": 344.5
  },
  "luminance": 0.10455
}

Semantic roles & 50–950 ramp

primary
#9F2B78
secondary
#67BE85
accent
#E17B47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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