#9C2277#9C2277

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

Color values

HEX#9C2277
RGBrgb(156, 34, 119)
HSLhsl(318, 64%, 37%)
HSVhsv(318, 78%, 61%)
CMYKcmyk(0%, 78.2%, 23.7%, 38.8%)
CIE-LABlab(37.01, 56.55, -19.10)
CIE-LCHlch(37.01, 59.68, 341.34°)
OKLaboklab(48.07% 0.1707 -0.0511)
OKLCHoklch(48.07% 0.178 343.3)
XYZxyz(17.6128, 9.5458, 18.3642)
Luminance0.0954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2277 #229C47
analogous
#84229C #9C2277 #9C223A
triadic
#9C2277 #779C22 #22779C
tetradic
#9C2277 #9C8422 #229C47 #223A9C
square
#9C2277 #9C8422 #229C47 #223A9C
split-complementary
#9C2277 #3A9C22 #229C84
monochromatic
#380C2A #6A1751 #9C2277 #CE2D9D #DC5DB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2277#FFFFFF#000000##FFFFFF
##9C22771.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)
#304A79
Deuteranopia (green-blind)
#565E74
Tritanopia (blue-blind)
#A6224A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2277;
/* rgb */ color: rgb(156, 34, 119);
/* oklch */ color: oklch(48.1% 0.178 343.3);
Tailwind
colors: {
  custom: {
    50: '#bd6b9e',
    500: '#9c2277',
    950: '#000000',
  },
}
SCSS
$custom: #9c2277;
$custom-light: #bd6b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2277",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 318.197,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.17817,
    "h": 343.3
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#9C2277
secondary
#5AC079
accent
#E77341
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2277

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

Preview Lab → · Contrast checker → · Palette generator →

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