#9C2B7E#9C2B7E

#9C2B7E is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.173 H 340.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C2B7E
RGBrgb(156, 43, 126)
HSLhsl(316, 57%, 39%)
HSVhsv(316, 72%, 61%)
CMYKcmyk(0%, 72.4%, 19.2%, 38.8%)
CIE-LABlab(38.38, 54.53, -21.34)
CIE-LCHlch(38.38, 58.55, 338.62°)
OKLaboklab(49.16% 0.1627 -0.0575)
OKLCHoklch(49.16% 0.173 340.5)
XYZxyz(18.3406, 10.3038, 20.7575)
Luminance0.1030 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B7E #2B9C49
analogous
#822B9C #9C2B7E #9C2B46
triadic
#9C2B7E #7E9C2B #2B7E9C
tetradic
#9C2B7E #9C822B #2B9C49 #2B469C
square
#9C2B7E #9C822B #2B9C49 #2B469C
split-complementary
#9C2B7E #469C2B #2B9C82
monochromatic
#3C1131 #6C1E57 #9C2B7E #C93BA3 #D66BBA

Accessibility & contrast

On white

6.86
#9C2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B7E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B7E#FFFFFF#000000##FFFFFF
##9C2B7E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334F80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A52E51
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2b7e;
/* rgb */ color: rgb(156, 43, 126);
/* oklch */ color: oklch(49.2% 0.173 340.5);
Tailwind
colors: {
  custom: {
    50: '#bd6fa3',
    500: '#9c2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b7e;
$custom-light: #bd6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b7e",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 315.929,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.1726,
    "h": 340.5
  },
  "luminance": 0.10302
}

Semantic roles & 50–950 ramp

primary
#9C2B7E
secondary
#66BD7D
accent
#E07048
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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