#9F2772#9F2772

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

Color values

HEX#9F2772
RGBrgb(159, 39, 114)
HSLhsl(323, 61%, 39%)
HSVhsv(323, 75%, 62%)
CMYKcmyk(0%, 75.5%, 28.3%, 37.6%)
CIE-LABlab(37.91, 55.08, -14.54)
CIE-LCHlch(37.91, 56.97, 345.22°)
OKLaboklab(48.75% 0.1676 -0.0384)
OKLCHoklch(48.75% 0.172 347.1)
XYZxyz(18.0617, 10.0389, 16.9028)
Luminance0.1004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2772 #279F54
analogous
#90279F #9F2772 #9F2736
triadic
#9F2772 #729F27 #27729F
tetradic
#9F2772 #9F9027 #279F54 #27369F
square
#9F2772 #9F9027 #279F54 #27369F
split-complementary
#9F2772 #369F27 #279F90
monochromatic
#3D0F2C #6E1B4F #9F2772 #CE3695 #DA67AF

Accessibility & contrast

On white

6.98
#9F2772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2772
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2772#FFFFFF#000000##FFFFFF
##9F27721.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#AA2349
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2772;
/* rgb */ color: rgb(159, 39, 114);
/* oklch */ color: oklch(48.8% 0.172 347.1);
Tailwind
colors: {
  custom: {
    50: '#bf6d9a',
    500: '#9f2772',
    950: '#000000',
  },
}
SCSS
$custom: #9f2772;
$custom-light: #bf6d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2772",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 322.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.17189,
    "h": 347.1
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#9F2772
secondary
#62C085
accent
#E48044
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2772

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

Preview Lab → · Contrast checker → · Palette generator →

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