#9B2C71#9B2C71

#9B2C71 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.5% C 0.162 H 346.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9B2C71
RGBrgb(155, 44, 113)
HSLhsl(323, 56%, 39%)
HSVhsv(323, 72%, 61%)
CMYKcmyk(0%, 71.6%, 27.1%, 39.2%)
CIE-LABlab(37.78, 52.10, -14.18)
CIE-LCHlch(37.78, 54.00, 344.78°)
OKLaboklab(48.51% 0.158 -0.0375)
OKLCHoklch(48.51% 0.162 346.7)
XYZxyz(17.3996, 9.9640, 16.6265)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2C71 #2C9B56
analogous
#8E2C9B #9B2C71 #9B2C39
triadic
#9B2C71 #719B2C #2C719B
tetradic
#9B2C71 #9B8E2C #2C9B56 #2C399B
square
#9B2C71 #9B8E2C #2C9B56 #2C399B
split-complementary
#9B2C71 #399B2C #2C9B8E
monochromatic
#3C112B #6B1E4E #9B2C71 #C83C93 #D56CAD

Accessibility & contrast

On white

7.02
#9B2C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9B2C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2C71
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2C71#FFFFFF#000000##FFFFFF
##9B2C711.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4D73
Deuteranopia (green-blind)
#5B606E
Tritanopia (blue-blind)
#A6294A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2c71;
/* rgb */ color: rgb(155, 44, 113);
/* oklch */ color: oklch(48.5% 0.162 346.7);
Tailwind
colors: {
  custom: {
    50: '#bc6f9a',
    500: '#9b2c71',
    950: '#000000',
  },
}
SCSS
$custom: #9b2c71;
$custom-light: #bc6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2c71",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 322.703,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48506,
    "c": 0.16242,
    "h": 346.7
  },
  "luminance": 0.09962
}

Semantic roles & 50–950 ramp

primary
#9B2C71
secondary
#67BC87
accent
#DF8249
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2C71

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

Preview Lab → · Contrast checker → · Palette generator →

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