#9C2F77#9C2F77

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

Color values

HEX#9C2F77
RGBrgb(156, 47, 119)
HSLhsl(320, 54%, 40%)
HSVhsv(320, 70%, 61%)
CMYKcmyk(0%, 69.9%, 23.7%, 38.8%)
CIE-LABlab(38.61, 52.04, -16.64)
CIE-LCHlch(38.61, 54.64, 342.27°)
OKLaboklab(49.23% 0.1568 -0.0443)
OKLCHoklch(49.23% 0.163 344.2)
XYZxyz(18.0572, 10.4347, 18.5123)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F77 #2F9C54
analogous
#8B2F9C #9C2F77 #9C2F40
triadic
#9C2F77 #779C2F #2F779C
tetradic
#9C2F77 #9C8B2F #2F9C54 #2F409C
square
#9C2F77 #9C8B2F #2F9C54 #2F409C
split-complementary
#9C2F77 #409C2F #2F9C8B
monochromatic
#3E132F #6D2153 #9C2F77 #C64299 #D471B3

Accessibility & contrast

On white

6.80
#9C2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C2F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F77
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F77#FFFFFF#000000##FFFFFF
##9C2F771.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#5B6274
Tritanopia (blue-blind)
#A62E4F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2f77;
/* rgb */ color: rgb(156, 47, 119);
/* oklch */ color: oklch(49.2% 0.163 344.2);
Tailwind
colors: {
  custom: {
    50: '#bd709e',
    500: '#9c2f77',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f77;
$custom-light: #bd709e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f77",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 320.367,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4923,
    "c": 0.16298,
    "h": 344.2
  },
  "luminance": 0.10433
}

Semantic roles & 50–950 ramp

primary
#9C2F77
secondary
#6BBC86
accent
#DD7C4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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