#9F2B79#9F2B79

#9F2B79 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.171 H 344.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9F2B79
RGBrgb(159, 43, 121)
HSLhsl(320, 57%, 40%)
HSVhsv(320, 73%, 62%)
CMYKcmyk(0%, 73%, 23.9%, 37.6%)
CIE-LABlab(38.69, 54.62, -17.72)
CIE-LCHlch(38.69, 57.42, 342.03°)
OKLaboklab(49.42% 0.1648 -0.0473)
OKLCHoklch(49.42% 0.171 344)
XYZxyz(18.6138, 10.4811, 19.1282)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2B79 #2B9F51
analogous
#8B2B9F #9F2B79 #9F2B3F
triadic
#9F2B79 #799F2B #2B799F
tetradic
#9F2B79 #9F8B2B #2B9F51 #2B3F9F
square
#9F2B79 #9F8B2B #2B9F51 #2B3F9F
split-complementary
#9F2B79 #3F9F2B #2B9F8B
monochromatic
#3F1130 #6F1E54 #9F2B79 #CA3D9C #D76DB5

Accessibility & contrast

On white

6.78
#9F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9F2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2B79
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2B79#FFFFFF#000000##FFFFFF
##9F2B791.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2b79;
/* rgb */ color: rgb(159, 43, 121);
/* oklch */ color: oklch(49.4% 0.171 344.0);
Tailwind
colors: {
  custom: {
    50: '#bf6fa0',
    500: '#9f2b79',
    950: '#000000',
  },
}
SCSS
$custom: #9f2b79;
$custom-light: #bf6fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2b79",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 319.655,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49416,
    "c": 0.17142,
    "h": 344
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#9F2B79
secondary
#67BE84
accent
#E17947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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