#9C3271#9C3271

#9C3271 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.155 H 347.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9C3271
RGBrgb(156, 50, 113)
HSLhsl(324, 51%, 40%)
HSVhsv(324, 68%, 61%)
CMYKcmyk(0%, 67.9%, 27.6%, 38.8%)
CIE-LABlab(38.80, 50.03, -12.61)
CIE-LCHlch(38.80, 51.59, 345.86°)
OKLaboklab(49.29% 0.1517 -0.0332)
OKLCHoklch(49.29% 0.155 347.7)
XYZxyz(17.8323, 10.5432, 16.7155)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3271 #329C5D
analogous
#92329C #9C3271 #9C323C
triadic
#9C3271 #719C32 #32719C
tetradic
#9C3271 #9C9232 #329C5D #323C9C
square
#9C3271 #9C9232 #329C5D #323C9C
split-complementary
#9C3271 #3C9C32 #329C92
monochromatic
#3F142E #6E234F #9C3271 #C44791 #D375AD

Accessibility & contrast

On white

6.76
#9C3271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C3271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3271
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3271#FFFFFF#000000##FFFFFF
##9C32711.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5073
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#A72F4D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c3271;
/* rgb */ color: rgb(156, 50, 113);
/* oklch */ color: oklch(49.3% 0.155 347.7);
Tailwind
colors: {
  custom: {
    50: '#bd7299',
    500: '#9c3271',
    950: '#000000',
  },
}
SCSS
$custom: #9c3271;
$custom-light: #bd7299;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3271",
  "rgb": {
    "r": 156,
    "g": 50,
    "b": 113
  },
  "hsl": {
    "h": 324.34,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49289,
    "c": 0.15532,
    "h": 347.7
  },
  "luminance": 0.10541
}

Semantic roles & 50–950 ramp

primary
#9C3271
secondary
#6FBB8E
accent
#DB874D
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C3271

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

Preview Lab → · Contrast checker → · Palette generator →

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