#9C2F76#9C2F76

#9C2F76 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.162 H 344.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2F76
RGBrgb(156, 47, 118)
HSLhsl(321, 54%, 40%)
HSVhsv(321, 70%, 61%)
CMYKcmyk(0%, 69.9%, 24.4%, 38.8%)
CIE-LABlab(38.57, 51.90, -16.08)
CIE-LCHlch(38.57, 54.34, 342.79°)
OKLaboklab(49.19% 0.1566 -0.0428)
OKLCHoklch(49.19% 0.162 344.7)
XYZxyz(17.9975, 10.4108, 18.1977)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F76 #2F9C55
analogous
#8B2F9C #9C2F76 #9C2F40
triadic
#9C2F76 #769C2F #2F769C
tetradic
#9C2F76 #9C8B2F #2F9C55 #2F409C
square
#9C2F76 #9C8B2F #2F9C55 #2F409C
split-complementary
#9C2F76 #409C2F #2F9C8B
monochromatic
#3E132F #6D2152 #9C2F76 #C64298 #D471B2

Accessibility & contrast

On white

6.81
#9C2F76 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2F76 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F76
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F76#FFFFFF#000000##FFFFFF
##9C2F761.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4F78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#A62E4E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2f76;
/* rgb */ color: rgb(156, 47, 118);
/* oklch */ color: oklch(49.2% 0.162 344.7);
Tailwind
colors: {
  custom: {
    50: '#bd709d',
    500: '#9c2f76',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f76;
$custom-light: #bd709d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f76",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 320.917,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49186,
    "c": 0.16235,
    "h": 344.7
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#9C2F76
secondary
#6BBC87
accent
#DD7E4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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