#9C2E87#9C2E87

#9C2E87 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.175 H 336.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9C2E87
RGBrgb(156, 46, 135)
HSLhsl(311, 54%, 40%)
HSVhsv(311, 71%, 61%)
CMYKcmyk(0%, 70.5%, 13.5%, 38.8%)
CIE-LABlab(39.20, 54.75, -25.64)
CIE-LCHlch(39.20, 60.46, 334.91°)
OKLaboklab(49.89% 0.1607 -0.0697)
OKLCHoklch(49.89% 0.175 336.5)
XYZxyz(19.0608, 10.7729, 23.9925)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E87 #2E9C43
analogous
#7A2E9C #9C2E87 #9C2E50
triadic
#9C2E87 #879C2E #2E879C
tetradic
#9C2E87 #9C7A2E #2E9C43 #2E509C
square
#9C2E87 #9C7A2E #2E9C43 #2E509C
split-complementary
#9C2E87 #509C2E #2E9C7A
monochromatic
#3D1235 #6D205E #9C2E87 #C740AD #D570C1

Accessibility & contrast

On white

6.66
#9C2E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9C2E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E87
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E87#FFFFFF#000000##FFFFFF
##9C2E871.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528A
Deuteranopia (green-blind)
#556284
Tritanopia (blue-blind)
#A43556
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2e87;
/* rgb */ color: rgb(156, 46, 135);
/* oklch */ color: oklch(49.9% 0.175 336.5);
Tailwind
colors: {
  custom: {
    50: '#bd71aa',
    500: '#9c2e87',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e87;
$custom-light: #bd71aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e87",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 311.455,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4989,
    "c": 0.17519,
    "h": 336.5
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9C2E87
secondary
#6ABC79
accent
#DE664A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E87

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

Preview Lab → · Contrast checker → · Palette generator →

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