#9C2179#9C2179

#9C2179 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.180 H 342.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9C2179
RGBrgb(156, 33, 121)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 61%)
CMYKcmyk(0%, 78.8%, 22.4%, 38.8%)
CIE-LABlab(37.00, 57.11, -20.37)
CIE-LCHlch(37.00, 60.64, 340.37°)
OKLaboklab(48.09% 0.1719 -0.0547)
OKLCHoklch(48.09% 0.18 342.4)
XYZxyz(17.7060, 9.5380, 18.9940)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2179 #219C44
analogous
#82219C #9C2179 #9C213C
triadic
#9C2179 #799C21 #21799C
tetradic
#9C2179 #9C8221 #219C44 #213C9C
square
#9C2179 #9C8221 #219C44 #213C9C
split-complementary
#9C2179 #3C9C21 #219C82
monochromatic
#370C2B #691652 #9C2179 #CF2CA0 #DC5BB8

Accessibility & contrast

On white

7.22
#9C2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9C2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2179
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2179#FFFFFF#000000##FFFFFF
##9C21791.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4A7B
Deuteranopia (green-blind)
#555E76
Tritanopia (blue-blind)
#A6224B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2179;
/* rgb */ color: rgb(156, 33, 121);
/* oklch */ color: oklch(48.1% 0.180 342.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ba0',
    500: '#9c2179',
    950: '#000000',
  },
}
SCSS
$custom: #9c2179;
$custom-light: #bd6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2179",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 317.073,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.18042,
    "h": 342.4
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#9C2179
secondary
#58C176
accent
#E87040
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2179

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

Preview Lab → · Contrast checker → · Palette generator →

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