#9C2A82#9C2A82

#9C2A82 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.177 H 338.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2A82
RGBrgb(156, 42, 130)
HSLhsl(314, 58%, 39%)
HSVhsv(314, 73%, 61%)
CMYKcmyk(0%, 73.1%, 16.7%, 38.8%)
CIE-LABlab(38.44, 55.46, -23.73)
CIE-LCHlch(38.44, 60.32, 336.84°)
OKLaboklab(49.27% 0.1644 -0.0643)
OKLCHoklch(49.27% 0.177 338.6)
XYZxyz(18.5680, 10.3373, 22.1322)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A82 #2A9C44
analogous
#7D2A9C #9C2A82 #9C2A49
triadic
#9C2A82 #829C2A #2A829C
tetradic
#9C2A82 #9C7D2A #2A9C44 #2A499C
square
#9C2A82 #9C7D2A #2A9C44 #2A499C
split-complementary
#9C2A82 #499C2A #2A9C7D
monochromatic
#3C1032 #6C1D5A #9C2A82 #CA39A9 #D76ABE

Accessibility & contrast

On white

6.85
#9C2A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A82
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A82#FFFFFF#000000##FFFFFF
##9C2A821.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#A52F52
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2a82;
/* rgb */ color: rgb(156, 42, 130);
/* oklch */ color: oklch(49.3% 0.177 338.6);
Tailwind
colors: {
  custom: {
    50: '#bd6fa6',
    500: '#9c2a82',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a82;
$custom-light: #bd6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a82",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 313.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49266,
    "c": 0.17653,
    "h": 338.6
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#9C2A82
secondary
#65BD79
accent
#E16A47
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2A82

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

Preview Lab → · Contrast checker → · Palette generator →

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