#9F2B77#9F2B77

#9F2B77 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.170 H 345.0°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F2B77
RGBrgb(159, 43, 119)
HSLhsl(321, 57%, 40%)
HSVhsv(321, 73%, 62%)
CMYKcmyk(0%, 73%, 25.2%, 37.6%)
CIE-LABlab(38.61, 54.35, -16.60)
CIE-LCHlch(38.61, 56.83, 343.02°)
OKLaboklab(49.33% 0.1644 -0.0441)
OKLCHoklch(49.33% 0.17 345)
XYZxyz(18.4925, 10.4325, 18.4890)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B77 #2B9F53
analogous
#8D2B9F #9F2B77 #9F2B3D
triadic
#9F2B77 #779F2B #2B779F
tetradic
#9F2B77 #9F8D2B #2B9F53 #2B3D9F
square
#9F2B77 #9F8D2B #2B9F53 #2B3D9F
split-complementary
#9F2B77 #3D9F2B #2B9F8D
monochromatic
#3F112F #6F1E53 #9F2B77 #CA3D9A #D76DB3

Accessibility & contrast

On white

6.80
#9F2B77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2B77
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B77#FFFFFF#000000##FFFFFF
##9F2B771.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394E79
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#AA294D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2b77;
/* rgb */ color: rgb(159, 43, 119);
/* oklch */ color: oklch(49.3% 0.170 345.0);
Tailwind
colors: {
  custom: {
    50: '#bf6f9e',
    500: '#9f2b77',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b77;
$custom-light: #bf6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b77",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 320.69,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.17019,
    "h": 345
  },
  "luminance": 0.10431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2B77

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

Preview Lab → · Contrast checker → · Palette generator →

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