#9C2E82#9C2E82

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

Color values

HEX#9C2E82
RGBrgb(156, 46, 130)
HSLhsl(314, 54%, 40%)
HSVhsv(314, 71%, 61%)
CMYKcmyk(0%, 70.5%, 16.7%, 38.8%)
CIE-LABlab(38.96, 54.00, -22.92)
CIE-LCHlch(38.96, 58.66, 337.00°)
OKLaboklab(49.64% 0.16 -0.062)
OKLCHoklch(49.64% 0.172 338.8)
XYZxyz(18.7170, 10.6354, 22.1818)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E82 #2E9C48
analogous
#7F2E9C #9C2E82 #9C2E4B
triadic
#9C2E82 #829C2E #2E829C
tetradic
#9C2E82 #9C7F2E #2E9C48 #2E4B9C
square
#9C2E82 #9C7F2E #2E9C48 #2E4B9C
split-complementary
#9C2E82 #4B9C2E #2E9C7F
monochromatic
#3D1233 #6D205B #9C2E82 #C740A7 #D570BD

Accessibility & contrast

On white

6.72
#9C2E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C2E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E82
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E82#FFFFFF#000000##FFFFFF
##9C2E821.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335184
Deuteranopia (green-blind)
#57627F
Tritanopia (blue-blind)
#A53254
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2e82;
/* rgb */ color: rgb(156, 46, 130);
/* oklch */ color: oklch(49.6% 0.172 338.8);
Tailwind
colors: {
  custom: {
    50: '#bd70a6',
    500: '#9c2e82',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e82;
$custom-light: #bd70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e82",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 314.182,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49642,
    "c": 0.17161,
    "h": 338.8
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#9C2E82
secondary
#6ABC7D
accent
#DE6D4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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