#9C2F89#9C2F89

#9C2F89 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.175 H 335.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9C2F89
RGBrgb(156, 47, 137)
HSLhsl(310, 54%, 40%)
HSVhsv(310, 70%, 61%)
CMYKcmyk(0%, 69.9%, 12.2%, 38.8%)
CIE-LABlab(39.43, 54.68, -26.50)
CIE-LCHlch(39.43, 60.77, 334.14°)
OKLaboklab(50.09% 0.1598 -0.0722)
OKLCHoklch(50.09% 0.175 335.7)
XYZxyz(19.2424, 10.9088, 24.7542)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F89 #2F9C42
analogous
#792F9C #9C2F89 #9C2F52
triadic
#9C2F89 #899C2F #2F899C
tetradic
#9C2F89 #9C792F #2F9C42 #2F529C
square
#9C2F89 #9C792F #2F9C42 #2F529C
split-complementary
#9C2F89 #529C2F #2F9C79
monochromatic
#3E1336 #6D2160 #9C2F89 #C642AF #D471C3

Accessibility & contrast

On white

6.60
#9C2F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9C2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F89
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F89#FFFFFF#000000##FFFFFF
##9C2F891.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30528C
Deuteranopia (green-blind)
#546386
Tritanopia (blue-blind)
#A43658
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2f89;
/* rgb */ color: rgb(156, 47, 137);
/* oklch */ color: oklch(50.1% 0.175 335.7);
Tailwind
colors: {
  custom: {
    50: '#bc71ab',
    500: '#9c2f89',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f89;
$custom-light: #bc71ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f89",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 310.459,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50089,
    "c": 0.17539,
    "h": 335.7
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#9C2F89
secondary
#6BBC79
accent
#DD644B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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