#9F2C7F#9F2C7F

#9F2C7F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.174 H 341.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2C7F
RGBrgb(159, 44, 127)
HSLhsl(317, 57%, 40%)
HSVhsv(317, 72%, 62%)
CMYKcmyk(0%, 72.3%, 20.1%, 37.6%)
CIE-LABlab(39.08, 55.09, -20.84)
CIE-LCHlch(39.08, 58.90, 339.28°)
OKLaboklab(49.79% 0.1648 -0.056)
OKLCHoklch(49.79% 0.174 341.2)
XYZxyz(19.0301, 10.7065, 21.1389)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C7F #2C9F4C
analogous
#862C9F #9F2C7F #9F2C45
triadic
#9F2C7F #7F9F2C #2C7F9F
tetradic
#9F2C7F #9F862C #2C9F4C #2C459F
square
#9F2C7F #9F862C #2C9F4C #2C459F
split-complementary
#9F2C7F #459F2C #2C9F86
monochromatic
#3F1132 #6F1F59 #9F2C7F #CA3EA3 #D76EBA

Accessibility & contrast

On white

6.69
#9F2C7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2C7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C7F
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C7F#FFFFFF#000000##FFFFFF
##9F2C7F1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#59637C
Tritanopia (blue-blind)
#A92E52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2c7f;
/* rgb */ color: rgb(159, 44, 127);
/* oklch */ color: oklch(49.8% 0.174 341.2);
Tailwind
colors: {
  custom: {
    50: '#bf70a4',
    500: '#9f2c7f',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c7f;
$custom-light: #bf70a4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c7f",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 316.696,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.17406,
    "h": 341.2
  },
  "luminance": 0.10705
}

Semantic roles & 50–950 ramp

primary
#9F2C7F
secondary
#69BE80
accent
#E07248
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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