#9F2A77#9F2A77

#9F2A77 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.171 H 344.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9F2A77
RGBrgb(159, 42, 119)
HSLhsl(321, 58%, 39%)
HSVhsv(321, 74%, 62%)
CMYKcmyk(0%, 73.6%, 25.2%, 37.6%)
CIE-LABlab(38.48, 54.70, -16.79)
CIE-LCHlch(38.48, 57.22, 342.93°)
OKLaboklab(49.24% 0.1655 -0.0447)
OKLCHoklch(49.24% 0.171 344.9)
XYZxyz(18.4566, 10.3607, 18.4770)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2A77 #2A9F52
analogous
#8D2A9F #9F2A77 #9F2A3C
triadic
#9F2A77 #779F2A #2A779F
tetradic
#9F2A77 #9F8D2A #2A9F52 #2A3C9F
square
#9F2A77 #9F8D2A #2A9F52 #2A3C9F
split-complementary
#9F2A77 #3C9F2A #2A9F8D
monochromatic
#3E102F #6F1D53 #9F2A77 #CB3B9A #D86BB3

Accessibility & contrast

On white

6.84
#9F2A77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2A77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2A77
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2A77#FFFFFF#000000##FFFFFF
##9F2A771.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E79
Deuteranopia (green-blind)
#5B6274
Tritanopia (blue-blind)
#AA284D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2a77;
/* rgb */ color: rgb(159, 42, 119);
/* oklch */ color: oklch(49.2% 0.171 344.9);
Tailwind
colors: {
  custom: {
    50: '#bf6f9e',
    500: '#9f2a77',
    950: '#000000',
  },
}
SCSS
$custom: #9f2a77;
$custom-light: #bf6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2a77",
  "rgb": {
    "r": 159,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 320.513,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49236,
    "c": 0.17138,
    "h": 344.9
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#9F2A77
secondary
#66BF84
accent
#E17B46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2A77

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

Preview Lab → · Contrast checker → · Palette generator →

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