#9C2161#9C2161

#9C2161 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.167 H 354.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9C2161
RGBrgb(156, 33, 97)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 61%)
CMYKcmyk(0%, 78.8%, 37.8%, 38.8%)
CIE-LABlab(36.02, 54.19, -6.68)
CIE-LCHlch(36.02, 54.60, 352.97°)
OKLaboklab(47.06% 0.1665 -0.017)
OKLCHoklch(47.06% 0.167 354.2)
XYZxyz(16.4129, 9.0208, 12.1838)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2161 #219C5C
analogous
#99219C #9C2161 #9C2124
triadic
#9C2161 #619C21 #21619C
tetradic
#9C2161 #9C9921 #219C5C #21249C
square
#9C2161 #9C9921 #219C5C #21249C
split-complementary
#9C2161 #249C21 #219C99
monochromatic
#370C22 #691642 #9C2161 #CF2C80 #DC5B9E

Accessibility & contrast

On white

7.49
#9C2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9C2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2161
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2161#FFFFFF#000000##FFFFFF
##9C21611.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4663
Deuteranopia (green-blind)
#5C5D5E
Tritanopia (blue-blind)
#A9113E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9c2161;
/* rgb */ color: rgb(156, 33, 97);
/* oklch */ color: oklch(47.1% 0.167 354.2);
Tailwind
colors: {
  custom: {
    50: '#be6a8d',
    500: '#9c2161',
    950: '#000000',
  },
}
SCSS
$custom: #9c2161;
$custom-light: #be6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2161",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 328.78,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.16736,
    "h": 354.2
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#9C2161
secondary
#58C18A
accent
#E89040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9C2161

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

Preview Lab → · Contrast checker → · Palette generator →

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