#9C2A84#9C2A84

#9C2A84 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.4% C 0.178 H 337.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9C2A84
RGBrgb(156, 42, 132)
HSLhsl(313, 58%, 39%)
HSVhsv(313, 73%, 61%)
CMYKcmyk(0%, 73.1%, 15.4%, 38.8%)
CIE-LABlab(38.54, 55.76, -24.82)
CIE-LCHlch(38.54, 61.03, 336.01°)
OKLaboklab(49.37% 0.1647 -0.0674)
OKLCHoklch(49.37% 0.178 337.8)
XYZxyz(18.7035, 10.3915, 22.8460)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A84 #2A9C42
analogous
#7B2A9C #9C2A84 #9C2A4B
triadic
#9C2A84 #849C2A #2A849C
tetradic
#9C2A84 #9C7B2A #2A9C42 #2A4B9C
square
#9C2A84 #9C7B2A #2A9C42 #2A4B9C
split-complementary
#9C2A84 #4B9C2A #2A9C7B
monochromatic
#3C1032 #6C1D5B #9C2A84 #CA39AB #D76AC0

Accessibility & contrast

On white

6.82
#9C2A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C2A84
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A84#FFFFFF#000000##FFFFFF
##9C2A841.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F86
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#A53054
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2a84;
/* rgb */ color: rgb(156, 42, 132);
/* oklch */ color: oklch(49.4% 0.178 337.8);
Tailwind
colors: {
  custom: {
    50: '#bd6fa8',
    500: '#9c2a84',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a84;
$custom-light: #bd6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a84",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 312.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49366,
    "c": 0.17792,
    "h": 337.8
  },
  "luminance": 0.1039
}

Semantic roles & 50–950 ramp

primary
#9C2A84
secondary
#65BD77
accent
#E16747
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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