#9F2977#9F2977

#9F2977 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.173 H 344.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9F2977
RGBrgb(159, 41, 119)
HSLhsl(320, 59%, 39%)
HSVhsv(320, 74%, 62%)
CMYKcmyk(0%, 74.2%, 25.2%, 37.6%)
CIE-LABlab(38.36, 55.05, -16.98)
CIE-LCHlch(38.36, 57.61, 342.86°)
OKLaboklab(49.15% 0.1665 -0.0452)
OKLCHoklch(49.15% 0.173 344.8)
XYZxyz(18.4215, 10.2907, 18.4653)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2977 #299F51
analogous
#8C299F #9F2977 #9F293C
triadic
#9F2977 #779F29 #29779F
tetradic
#9F2977 #9F8C29 #299F51 #293C9F
square
#9F2977 #9F8C29 #299F51 #293C9F
split-complementary
#9F2977 #3C9F29 #299F8C
monochromatic
#3E102E #6E1C53 #9F2977 #CC399A #D96AB3

Accessibility & contrast

On white

6.87
#9F2977 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F2977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2977
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2977#FFFFFF#000000##FFFFFF
##9F29771.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#AA274C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2977;
/* rgb */ color: rgb(159, 41, 119);
/* oklch */ color: oklch(49.1% 0.173 344.8);
Tailwind
colors: {
  custom: {
    50: '#bf6e9e',
    500: '#9f2977',
    950: '#000000',
  },
}
SCSS
$custom: #9f2977;
$custom-light: #bf6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2977",
  "rgb": {
    "r": 159,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 320.339,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.17255,
    "h": 344.8
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#9F2977
secondary
#65BF83
accent
#E27B46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2977

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

Preview Lab → · Contrast checker → · Palette generator →

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