#9C2D83#9C2D83

#9C2D83 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 338.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C2D83
RGBrgb(156, 45, 131)
HSLhsl(314, 55%, 39%)
HSVhsv(314, 71%, 61%)
CMYKcmyk(0%, 71.2%, 16%, 38.8%)
CIE-LABlab(38.87, 54.52, -23.68)
CIE-LCHlch(38.87, 59.44, 336.53°)
OKLaboklab(49.59% 0.1613 -0.0641)
OKLCHoklch(49.59% 0.174 338.3)
XYZxyz(18.7458, 10.5851, 22.5242)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D83 #2D9C46
analogous
#7E2D9C #9C2D83 #9C2D4B
triadic
#9C2D83 #839C2D #2D839C
tetradic
#9C2D83 #9C7E2D #2D9C46 #2D4B9C
square
#9C2D83 #9C7E2D #2D9C46 #2D4B9C
split-complementary
#9C2D83 #4B9C2D #2D9C7E
monochromatic
#3D1233 #6D1F5B #9C2D83 #C83FA9 #D56EBE

Accessibility & contrast

On white

6.74
#9C2D83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C2D83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D83
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D83#FFFFFF#000000##FFFFFF
##9C2D831.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325085
Deuteranopia (green-blind)
#566280
Tritanopia (blue-blind)
#A53254
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2d83;
/* rgb */ color: rgb(156, 45, 131);
/* oklch */ color: oklch(49.6% 0.174 338.3);
Tailwind
colors: {
  custom: {
    50: '#bd70a7',
    500: '#9c2d83',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d83;
$custom-light: #bd70a7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d83",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 313.514,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.17358,
    "h": 338.3
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#9C2D83
secondary
#68BC7B
accent
#DF6B49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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