#9F2F79#9F2F79

#9F2F79 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.166 H 344.3°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9F2F79
RGBrgb(159, 47, 121)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 70%, 62%)
CMYKcmyk(0%, 70.4%, 23.9%, 37.6%)
CIE-LABlab(39.22, 53.14, -16.91)
CIE-LCHlch(39.22, 55.77, 342.35°)
OKLaboklab(49.8% 0.1602 -0.045)
OKLCHoklch(49.8% 0.166 344.3)
XYZxyz(18.7665, 10.7863, 19.1791)
Luminance0.1078 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F79 #2F9F55
analogous
#8D2F9F #9F2F79 #9F2F41
triadic
#9F2F79 #799F2F #2F799F
tetradic
#9F2F79 #9F8D2F #2F9F55 #2F419F
square
#9F2F79 #9F8D2F #2F9F55 #2F419F
split-complementary
#9F2F79 #419F2F #2F9F8D
monochromatic
#411331 #702155 #9F2F79 #C8449B #D673B4

Accessibility & contrast

On white

6.65
#9F2F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F2F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F79
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F79#FFFFFF#000000##FFFFFF
##9F2F791.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#5C6376
Tritanopia (blue-blind)
#A92E50
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2f79;
/* rgb */ color: rgb(159, 47, 121);
/* oklch */ color: oklch(49.8% 0.166 344.3);
Tailwind
colors: {
  custom: {
    50: '#bf719f',
    500: '#9f2f79',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f79;
$custom-light: #bf719f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f79",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 320.357,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.498,
    "c": 0.16645,
    "h": 344.3
  },
  "luminance": 0.10784
}

Semantic roles & 50–950 ramp

primary
#9F2F79
secondary
#6DBD88
accent
#DE7C4A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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