#9C2152#9C2152

#9C2152 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.5% C 0.162 H 2.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9C2152
RGBrgb(156, 33, 82)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 61%)
CMYKcmyk(0%, 78.8%, 47.4%, 38.8%)
CIE-LABlab(35.53, 52.68, 2.24)
CIE-LCHlch(35.53, 52.73, 2.43°)
OKLaboklab(46.54% 0.1616 0.0063)
OKLCHoklch(46.54% 0.162 2.2)
XYZxyz(15.7785, 8.7670, 8.8423)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2152 #219C6B
analogous
#9C218F #9C2152 #9C2E21
triadic
#9C2152 #529C21 #21529C
tetradic
#9C2152 #8F9C21 #219C6B #2E219C
square
#9C2152 #8F9C21 #219C6B #2E219C
split-complementary
#9C2152 #219C2E #218F9C
monochromatic
#370C1D #691637 #9C2152 #CF2C6D #DC5B8F

Accessibility & contrast

On white

7.63
#9C2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9C2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2152
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2152#FFFFFF#000000##FFFFFF
##9C21521.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4453
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AA0237
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c2152;
/* rgb */ color: rgb(156, 33, 82);
/* oklch */ color: oklch(46.5% 0.162 2.2);
Tailwind
colors: {
  custom: {
    50: '#bf6982',
    500: '#9c2152',
    950: '#000000',
  },
}
SCSS
$custom: #9c2152;
$custom-light: #bf6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2152",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 336.098,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46537,
    "c": 0.16173,
    "h": 2.2
  },
  "luminance": 0.08765
}

Semantic roles & 50–950 ramp

primary
#9C2152
secondary
#58C197
accent
#E8A540
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2152

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

Preview Lab → · Contrast checker → · Palette generator →

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