#9F2777#9F2777

#9F2777 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.175 H 344.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2777
RGBrgb(159, 39, 119)
HSLhsl(320, 61%, 39%)
HSVhsv(320, 75%, 62%)
CMYKcmyk(0%, 75.5%, 25.2%, 37.6%)
CIE-LABlab(38.12, 55.72, -17.35)
CIE-LCHlch(38.12, 58.36, 342.71°)
OKLaboklab(48.97% 0.1686 -0.0462)
OKLCHoklch(48.97% 0.175 344.7)
XYZxyz(18.3541, 10.1558, 18.4429)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2777 #279F4F
analogous
#8B279F #9F2777 #9F273B
triadic
#9F2777 #779F27 #27779F
tetradic
#9F2777 #9F8B27 #279F4F #273B9F
square
#9F2777 #9F8B27 #279F4F #273B9F
split-complementary
#9F2777 #3B9F27 #279F8B
monochromatic
#3D0F2D #6E1B52 #9F2777 #CE369B #DA67B3

Accessibility & contrast

On white

6.93
#9F2777 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2777 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2777
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2777#FFFFFF#000000##FFFFFF
##9F27771.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#5A6174
Tritanopia (blue-blind)
#AA254C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2777;
/* rgb */ color: rgb(159, 39, 119);
/* oklch */ color: oklch(49.0% 0.175 344.7);
Tailwind
colors: {
  custom: {
    50: '#bf6d9e',
    500: '#9f2777',
    950: '#000000',
  },
}
SCSS
$custom: #9f2777;
$custom-light: #bf6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2777",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 119
  },
  "hsl": {
    "h": 320,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48973,
    "c": 0.17483,
    "h": 344.7
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#9F2777
secondary
#62C081
accent
#E47944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2777

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

Preview Lab → · Contrast checker → · Palette generator →

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