#9C2B82#9C2B82

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

Color values

HEX#9C2B82
RGBrgb(156, 43, 130)
HSLhsl(314, 57%, 39%)
HSVhsv(314, 72%, 61%)
CMYKcmyk(0%, 72.4%, 16.7%, 38.8%)
CIE-LABlab(38.57, 55.11, -23.53)
CIE-LCHlch(38.57, 59.92, 336.87°)
OKLaboklab(49.36% 0.1633 -0.0637)
OKLCHoklch(49.36% 0.175 338.7)
XYZxyz(18.6039, 10.4091, 22.1441)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B82 #2B9C45
analogous
#7E2B9C #9C2B82 #9C2B4A
triadic
#9C2B82 #829C2B #2B829C
tetradic
#9C2B82 #9C7E2B #2B9C45 #2B4A9C
square
#9C2B82 #9C7E2B #2B9C45 #2B4A9C
split-complementary
#9C2B82 #4A9C2B #2B9C7E
monochromatic
#3C1132 #6C1E5A #9C2B82 #C93BA8 #D66BBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2B82#FFFFFF#000000##FFFFFF
##9C2B821.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)
#315084
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A53053
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2b82;
/* rgb */ color: rgb(156, 43, 130);
/* oklch */ color: oklch(49.4% 0.175 338.7);
Tailwind
colors: {
  custom: {
    50: '#bd6fa6',
    500: '#9c2b82',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b82;
$custom-light: #bd6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b82",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 313.805,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49357,
    "c": 0.17533,
    "h": 338.7
  },
  "luminance": 0.10407
}

Semantic roles & 50–950 ramp

primary
#9C2B82
secondary
#66BD7A
accent
#E06B48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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