#9C2E89#9C2E89

#9C2E89 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 335.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9C2E89
RGBrgb(156, 46, 137)
HSLhsl(310, 54%, 40%)
HSVhsv(310, 71%, 61%)
CMYKcmyk(0%, 70.5%, 12.2%, 38.8%)
CIE-LABlab(39.29, 55.06, -26.71)
CIE-LCHlch(39.29, 61.20, 334.12°)
OKLaboklab(49.99% 0.161 -0.0728)
OKLCHoklch(49.99% 0.177 335.7)
XYZxyz(19.2029, 10.8297, 24.7410)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E89 #2E9C41
analogous
#782E9C #9C2E89 #9C2E52
triadic
#9C2E89 #899C2E #2E899C
tetradic
#9C2E89 #9C782E #2E9C41 #2E529C
square
#9C2E89 #9C782E #2E9C41 #2E529C
split-complementary
#9C2E89 #529C2E #2E9C78
monochromatic
#3D1236 #6D205F #9C2E89 #C740B0 #D570C3

Accessibility & contrast

On white

6.63
#9C2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9C2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E89
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E89#FFFFFF#000000##FFFFFF
##9C2E891.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528C
Deuteranopia (green-blind)
#546286
Tritanopia (blue-blind)
#A43658
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e89;
/* rgb */ color: rgb(156, 46, 137);
/* oklch */ color: oklch(50.0% 0.177 335.7);
Tailwind
colors: {
  custom: {
    50: '#bd71ab',
    500: '#9c2e89',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e89;
$custom-light: #bd71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e89",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 310.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49992,
    "c": 0.17666,
    "h": 335.7
  },
  "luminance": 0.10828
}

Semantic roles & 50–950 ramp

primary
#9C2E89
secondary
#6ABC78
accent
#DE644A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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