#9F2C71#9F2C71

#9F2C71 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.165 H 348.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9F2C71
RGBrgb(159, 44, 113)
HSLhsl(324, 57%, 40%)
HSVhsv(324, 72%, 62%)
CMYKcmyk(0%, 72.3%, 28.9%, 37.6%)
CIE-LABlab(38.49, 53.21, -13.03)
CIE-LCHlch(38.49, 54.78, 346.24°)
OKLaboklab(49.16% 0.1619 -0.0343)
OKLCHoklch(49.16% 0.165 348.1)
XYZxyz(18.1803, 10.3665, 16.6631)
Luminance0.1037 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C71 #2C9F5A
analogous
#942C9F #9F2C71 #9F2C38
triadic
#9F2C71 #719F2C #2C719F
tetradic
#9F2C71 #9F942C #2C9F5A #2C389F
square
#9F2C71 #9F942C #2C9F5A #2C389F
split-complementary
#9F2C71 #389F2C #2C9F94
monochromatic
#3F112D #6F1F4F #9F2C71 #CA3E92 #D76EAD

Accessibility & contrast

On white

6.83
#9F2C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9F2C71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C71
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C71#FFFFFF#000000##FFFFFF
##9F2C711.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AA274A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2c71;
/* rgb */ color: rgb(159, 44, 113);
/* oklch */ color: oklch(49.2% 0.165 348.1);
Tailwind
colors: {
  custom: {
    50: '#bf6f99',
    500: '#9f2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c71;
$custom-light: #bf6f99;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c71",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 324,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.16547,
    "h": 348.1
  },
  "luminance": 0.10365
}

Semantic roles & 50–950 ramp

primary
#9F2C71
secondary
#69BE8B
accent
#E08548
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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