#9F2C79#9F2C79

#9F2C79 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.170 H 344.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9F2C79
RGBrgb(159, 44, 121)
HSLhsl(320, 57%, 40%)
HSVhsv(320, 72%, 62%)
CMYKcmyk(0%, 72.3%, 23.9%, 37.6%)
CIE-LABlab(38.82, 54.26, -17.52)
CIE-LCHlch(38.82, 57.02, 342.10°)
OKLaboklab(49.51% 0.1637 -0.0467)
OKLCHoklch(49.51% 0.17 344.1)
XYZxyz(18.6506, 10.5547, 19.1405)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C79 #2C9F52
analogous
#8B2C9F #9F2C79 #9F2C40
triadic
#9F2C79 #799F2C #2C799F
tetradic
#9F2C79 #9F8B2C #2C9F52 #2C409F
square
#9F2C79 #9F8B2C #2C9F52 #2C409F
split-complementary
#9F2C79 #409F2C #2C9F8B
monochromatic
#3F1130 #6F1F55 #9F2C79 #CA3E9C #D76EB4

Accessibility & contrast

On white

6.75
#9F2C79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2C79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C79
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C79#FFFFFF#000000##FFFFFF
##9F2C791.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7B
Deuteranopia (green-blind)
#5B6276
Tritanopia (blue-blind)
#A92B4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2c79;
/* rgb */ color: rgb(159, 44, 121);
/* oklch */ color: oklch(49.5% 0.170 344.1);
Tailwind
colors: {
  custom: {
    50: '#bf70a0',
    500: '#9f2c79',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c79;
$custom-light: #bf70a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c79",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 121
  },
  "hsl": {
    "h": 319.826,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49509,
    "c": 0.17021,
    "h": 344.1
  },
  "luminance": 0.10553
}

Semantic roles & 50–950 ramp

primary
#9F2C79
secondary
#69BE85
accent
#E07A48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2C79

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

Preview Lab → · Contrast checker → · Palette generator →

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