#9C2A88#9C2A88

#9C2A88 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.181 H 336.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C2A88
RGBrgb(156, 42, 136)
HSLhsl(311, 58%, 39%)
HSVhsv(311, 73%, 61%)
CMYKcmyk(0%, 73.1%, 12.8%, 38.8%)
CIE-LABlab(38.73, 56.36, -26.98)
CIE-LCHlch(38.73, 62.48, 334.42°)
OKLaboklab(49.57% 0.1651 -0.0735)
OKLCHoklch(49.57% 0.181 336)
XYZxyz(18.9825, 10.5031, 24.3153)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2A88 #2A9C3E
analogous
#772A9C #9C2A88 #9C2A4F
triadic
#9C2A88 #889C2A #2A889C
tetradic
#9C2A88 #9C772A #2A9C3E #2A4F9C
square
#9C2A88 #9C772A #2A9C3E #2A4F9C
split-complementary
#9C2A88 #4F9C2A #2A9C77
monochromatic
#3C1034 #6C1D5E #9C2A88 #CA39B0 #D76AC4

Accessibility & contrast

On white

6.77
#9C2A88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C2A88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2A88
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2A88#FFFFFF#000000##FFFFFF
##9C2A881.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508B
Deuteranopia (green-blind)
#536185
Tritanopia (blue-blind)
#A43256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2a88;
/* rgb */ color: rgb(156, 42, 136);
/* oklch */ color: oklch(49.6% 0.181 336.0);
Tailwind
colors: {
  custom: {
    50: '#bd6fab',
    500: '#9c2a88',
    950: '#000000',
  },
}
SCSS
$custom: #9c2a88;
$custom-light: #bd6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2a88",
  "rgb": {
    "r": 156,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 310.526,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4957,
    "c": 0.18077,
    "h": 336
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#9C2A88
secondary
#65BD74
accent
#E16247
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2A88

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

Preview Lab → · Contrast checker → · Palette generator →

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