#9C2052#9C2052

#9C2052 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.163 H 2.1°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9C2052
RGBrgb(156, 32, 82)
HSLhsl(336, 66%, 37%)
HSVhsv(336, 79%, 61%)
CMYKcmyk(0%, 79.5%, 47.4%, 38.8%)
CIE-LABlab(35.42, 52.98, 2.08)
CIE-LCHlch(35.42, 53.02, 2.25°)
OKLaboklab(46.46% 0.1626 0.0059)
OKLCHoklch(46.46% 0.163 2.1)
XYZxyz(15.7511, 8.7123, 8.8332)
Luminance0.0871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2052 #209C6A
analogous
#9C2090 #9C2052 #9C2C20
triadic
#9C2052 #529C20 #20529C
tetradic
#9C2052 #909C20 #209C6A #2C209C
square
#9C2052 #909C20 #209C6A #2C209C
split-complementary
#9C2052 #209C2C #20909C
monochromatic
#360B1D #691637 #9C2052 #CF2A6D #DD598E

Accessibility & contrast

On white

7.66
#9C2052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9C2052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2052
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2052#FFFFFF#000000##FFFFFF
##9C20521.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#AA0036
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9c2052;
/* rgb */ color: rgb(156, 32, 82);
/* oklch */ color: oklch(46.5% 0.163 2.1);
Tailwind
colors: {
  custom: {
    50: '#bf6982',
    500: '#9c2052',
    950: '#000000',
  },
}
SCSS
$custom: #9c2052;
$custom-light: #bf6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2052",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 335.806,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46459,
    "c": 0.1627,
    "h": 2.1
  },
  "luminance": 0.0871
}

Semantic roles & 50–950 ramp

primary
#9C2052
secondary
#57C196
accent
#E9A43F
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C2052

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

Preview Lab → · Contrast checker → · Palette generator →

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