#9F2D79#9F2D79

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

Color values

HEX#9F2D79
RGBrgb(159, 45, 121)
HSLhsl(320, 56%, 40%)
HSVhsv(320, 72%, 62%)
CMYKcmyk(0%, 71.7%, 23.9%, 37.6%)
CIE-LABlab(38.95, 53.89, -17.32)
CIE-LCHlch(38.95, 56.61, 342.18°)
OKLaboklab(49.6% 0.1625 -0.0462)
OKLCHoklch(49.6% 0.169 344.1)
XYZxyz(18.6883, 10.6301, 19.1531)
Luminance0.1063 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D79 #2D9F53
analogous
#8C2D9F #9F2D79 #9F2D40
triadic
#9F2D79 #799F2D #2D799F
tetradic
#9F2D79 #9F8C2D #2D9F53 #2D409F
square
#9F2D79 #9F8C2D #2D9F53 #2D409F
split-complementary
#9F2D79 #409F2D #2D9F8C
monochromatic
#401230 #6F2055 #9F2D79 #C9409B #D670B4

Accessibility & contrast

On white

6.72
#9F2D79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2D79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D79
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D79#FFFFFF#000000##FFFFFF
##9F2D791.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A92C4F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2d79;
/* rgb */ color: rgb(159, 45, 121);
/* oklch */ color: oklch(49.6% 0.169 344.1);
Tailwind
colors: {
  custom: {
    50: '#bf709f',
    500: '#9f2d79',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d79;
$custom-light: #bf709f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d79",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 121
  },
  "hsl": {
    "h": 320,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.16897,
    "h": 344.1
  },
  "luminance": 0.10628
}

Semantic roles & 50–950 ramp

primary
#9F2D79
secondary
#6ABE86
accent
#DF7B49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2D79

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

Preview Lab → · Contrast checker → · Palette generator →

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