#9C4978#9C4978

#9C4978 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.5% C 0.124 H 347.1°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9C4978
RGBrgb(156, 73, 120)
HSLhsl(326, 36%, 45%)
HSVhsv(326, 53%, 61%)
CMYKcmyk(0%, 53.2%, 23.1%, 38.8%)
CIE-LABlab(43.05, 40.29, -10.51)
CIE-LCHlch(43.05, 41.64, 345.38°)
OKLaboklab(52.52% 0.1209 -0.0276)
OKLCHoklch(52.52% 0.124 347.1)
XYZxyz(19.4836, 13.1907, 19.2856)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4978 #499C6D
analogous
#97499C #9C4978 #9C494E
triadic
#9C4978 #789C49 #49789C
tetradic
#9C4978 #9C9749 #499C6D #494E9C
square
#9C4978 #9C9749 #499C6D #494E9C
split-complementary
#9C4978 #4E9C49 #499C97
monochromatic
#492238 #723558 #9C4978 #B96996 #CC93B4

Accessibility & contrast

On white

5.77
#9C4978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9C4978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4978
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4978#FFFFFF#000000##FFFFFF
##9C49781.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515D7A
Deuteranopia (green-blind)
#676B76
Tritanopia (blue-blind)
#A5475B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c4978;
/* rgb */ color: rgb(156, 73, 120);
/* oklch */ color: oklch(52.5% 0.124 347.1);
Tailwind
colors: {
  custom: {
    50: '#bb7f9f',
    500: '#9c4978',
    950: '#000000',
  },
}
SCSS
$custom: #9c4978;
$custom-light: #bb7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4978",
  "rgb": {
    "r": 156,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 326.024,
    "s": 36.245,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.124,
    "h": 347.1
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#9C4978
secondary
#88B89D
accent
#CC8C5C
background
#FBF7F9
surface
#F7EEF2
border
#D0C9CC
text
#120A0E
muted
#817C7E

Preview Lab

Preview with #9C4978

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

Preview Lab → · Contrast checker → · Palette generator →

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