#9C2B7F#9C2B7F

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

Color values

HEX#9C2B7F
RGBrgb(156, 43, 127)
HSLhsl(315, 57%, 39%)
HSVhsv(315, 72%, 61%)
CMYKcmyk(0%, 72.4%, 18.6%, 38.8%)
CIE-LABlab(38.43, 54.67, -21.89)
CIE-LCHlch(38.43, 58.89, 338.17°)
OKLaboklab(49.21% 0.1629 -0.0591)
OKLCHoklch(49.21% 0.173 340.1)
XYZxyz(18.4054, 10.3298, 21.0991)
Luminance0.1033 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2B7F #2B9C48
analogous
#812B9C #9C2B7F #9C2B47
triadic
#9C2B7F #7F9C2B #2B7F9C
tetradic
#9C2B7F #9C812B #2B9C48 #2B479C
square
#9C2B7F #9C812B #2B9C48 #2B479C
split-complementary
#9C2B7F #479C2B #2B9C81
monochromatic
#3C1131 #6C1E58 #9C2B7F #C93BA5 #D66BBB

Accessibility & contrast

On white

6.85
#9C2B7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2B7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2B7F
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2B7F#FFFFFF#000000##FFFFFF
##9C2B7F1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2b7f;
/* rgb */ color: rgb(156, 43, 127);
/* oklch */ color: oklch(49.2% 0.173 340.1);
Tailwind
colors: {
  custom: {
    50: '#bd6fa4',
    500: '#9c2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2b7f;
$custom-light: #bd6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2b7f",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 315.398,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.17327,
    "h": 340.1
  },
  "luminance": 0.10328
}

Semantic roles & 50–950 ramp

primary
#9C2B7F
secondary
#66BD7C
accent
#E06F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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