#9C3F79#9C3F79

#9C3F79 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.2% C 0.141 H 344.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C3F79
RGBrgb(156, 63, 121)
HSLhsl(323, 42%, 43%)
HSVhsv(323, 60%, 61%)
CMYKcmyk(0%, 59.6%, 22.4%, 38.8%)
CIE-LABlab(41.22, 45.39, -13.89)
CIE-LCHlch(41.22, 47.46, 342.99°)
OKLaboklab(51.18% 0.1361 -0.0368)
OKLCHoklch(51.18% 0.141 344.9)
XYZxyz(18.9396, 12.0051, 19.4052)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3F79 #3F9C62
analogous
#913F9C #9C3F79 #9C3F4A
triadic
#9C3F79 #799C3F #3F799C
tetradic
#9C3F79 #9C913F #3F9C62 #3F4A9C
square
#9C3F79 #9C913F #3F9C62 #3F4A9C
split-complementary
#9C3F79 #4A9C3F #3F9C91
monochromatic
#451C35 #702D57 #9C3F79 #BD5B98 #CE87B4

Accessibility & contrast

On white

6.18
#9C3F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9C3F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3F79
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3F79#FFFFFF#000000##FFFFFF
##9C3F791.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#626777
Tritanopia (blue-blind)
#A63E56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9c3f79;
/* rgb */ color: rgb(156, 63, 121);
/* oklch */ color: oklch(51.2% 0.141 344.9);
Tailwind
colors: {
  custom: {
    50: '#bc799f',
    500: '#9c3f79',
    950: '#000000',
  },
}
SCSS
$custom: #9c3f79;
$custom-light: #bc799f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3f79",
  "rgb": {
    "r": 156,
    "g": 63,
    "b": 121
  },
  "hsl": {
    "h": 322.581,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.14103,
    "h": 344.9
  },
  "luminance": 0.12003
}

Semantic roles & 50–950 ramp

primary
#9C3F79
secondary
#7EB994
accent
#D28456
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#12090E
muted
#817B7E

Preview Lab

Preview with #9C3F79

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

Preview Lab → · Contrast checker → · Palette generator →

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