#9B2A73#9B2A73

#9B2A73 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.166 H 345.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9B2A73
RGBrgb(155, 42, 115)
HSLhsl(321, 57%, 39%)
HSVhsv(321, 73%, 61%)
CMYKcmyk(0%, 72.9%, 25.8%, 39.2%)
CIE-LABlab(37.60, 53.10, -15.71)
CIE-LCHlch(37.60, 55.38, 343.52°)
OKLaboklab(48.4% 0.1608 -0.0417)
OKLCHoklch(48.4% 0.166 345.5)
XYZxyz(17.4408, 9.8641, 17.2018)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A73 #2A9B52
analogous
#8A2A9B #9B2A73 #9B2A3A
triadic
#9B2A73 #739B2A #2A739B
tetradic
#9B2A73 #9B8A2A #2A9B52 #2A3A9B
square
#9B2A73 #9B8A2A #2A9B52 #2A3A9B
split-complementary
#9B2A73 #3A9B2A #2A9B8A
monochromatic
#3B102C #6B1D4F #9B2A73 #C93996 #D669B0

Accessibility & contrast

On white

7.06
#9B2A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9B2A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2A73
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A73#FFFFFF#000000##FFFFFF
##9B2A731.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384C75
Deuteranopia (green-blind)
#5A5F70
Tritanopia (blue-blind)
#A6284B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2a73;
/* rgb */ color: rgb(155, 42, 115);
/* oklch */ color: oklch(48.4% 0.166 345.5);
Tailwind
colors: {
  custom: {
    50: '#bc6e9b',
    500: '#9b2a73',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a73;
$custom-light: #bc6e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a73",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 115
  },
  "hsl": {
    "h": 321.239,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48402,
    "c": 0.16609,
    "h": 345.5
  },
  "luminance": 0.09862
}

Semantic roles & 50–950 ramp

primary
#9B2A73
secondary
#64BD83
accent
#E17D47
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2A73

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

Preview Lab → · Contrast checker → · Palette generator →

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