#9C2D87#9C2D87

#9C2D87 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 336.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C2D87
RGBrgb(156, 45, 135)
HSLhsl(311, 55%, 39%)
HSVhsv(311, 71%, 61%)
CMYKcmyk(0%, 71.2%, 13.5%, 38.8%)
CIE-LABlab(39.06, 55.13, -25.84)
CIE-LCHlch(39.06, 60.88, 334.88°)
OKLaboklab(49.79% 0.1618 -0.0703)
OKLCHoklch(49.79% 0.176 336.5)
XYZxyz(19.0222, 10.6957, 23.9796)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2D87 #2D9C42
analogous
#7A2D9C #9C2D87 #9C2D50
triadic
#9C2D87 #879C2D #2D879C
tetradic
#9C2D87 #9C7A2D #2D9C42 #2D509C
square
#9C2D87 #9C7A2D #2D9C42 #2D509C
split-complementary
#9C2D87 #509C2D #2D9C7A
monochromatic
#3D1235 #6D1F5E #9C2D87 #C83FAE #D56EC2

Accessibility & contrast

On white

6.69
#9C2D87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C2D87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2D87
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2D87#FFFFFF#000000##FFFFFF
##9C2D871.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F518A
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#A43456
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2d87;
/* rgb */ color: rgb(156, 45, 135);
/* oklch */ color: oklch(49.8% 0.176 336.5);
Tailwind
colors: {
  custom: {
    50: '#bd70aa',
    500: '#9c2d87',
    950: '#000000',
  },
}
SCSS
$custom: #9c2d87;
$custom-light: #bd70aa;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2d87",
  "rgb": {
    "r": 156,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 311.351,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49794,
    "c": 0.17643,
    "h": 336.5
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#9C2D87
secondary
#68BC78
accent
#DF6549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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