#9F2773#9F2773

#9F2773 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.172 H 346.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2773
RGBrgb(159, 39, 115)
HSLhsl(322, 61%, 39%)
HSVhsv(322, 75%, 62%)
CMYKcmyk(0%, 75.5%, 27.7%, 37.6%)
CIE-LABlab(37.95, 55.21, -15.10)
CIE-LCHlch(37.95, 57.23, 344.70°)
OKLaboklab(48.8% 0.1678 -0.04)
OKLCHoklch(48.8% 0.172 346.6)
XYZxyz(18.1189, 10.0618, 17.2043)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2773 #279F53
analogous
#8F279F #9F2773 #9F2737
triadic
#9F2773 #739F27 #27739F
tetradic
#9F2773 #9F8F27 #279F53 #27379F
square
#9F2773 #9F8F27 #279F53 #27379F
split-complementary
#9F2773 #379F27 #279F8F
monochromatic
#3D0F2C #6E1B4F #9F2773 #CE3696 #DA67B0

Accessibility & contrast

On white

6.97
#9F2773 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2773 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2773
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2773#FFFFFF#000000##FFFFFF
##9F27731.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#5B6170
Tritanopia (blue-blind)
#AA234A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2773;
/* rgb */ color: rgb(159, 39, 115);
/* oklch */ color: oklch(48.8% 0.172 346.6);
Tailwind
colors: {
  custom: {
    50: '#bf6d9b',
    500: '#9f2773',
    950: '#000000',
  },
}
SCSS
$custom: #9f2773;
$custom-light: #bf6d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2773",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 322,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48796,
    "c": 0.17246,
    "h": 346.6
  },
  "luminance": 0.1006
}

Semantic roles & 50–950 ramp

primary
#9F2773
secondary
#62C084
accent
#E47F44
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2773

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

Preview Lab → · Contrast checker → · Palette generator →

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