#9B2B74#9B2B74

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

Color values

HEX#9B2B74
RGBrgb(155, 43, 116)
HSLhsl(321, 57%, 39%)
HSVhsv(321, 72%, 61%)
CMYKcmyk(0%, 72.3%, 25.2%, 39.2%)
CIE-LABlab(37.77, 52.87, -16.07)
CIE-LCHlch(37.77, 55.26, 343.09°)
OKLaboklab(48.54% 0.1599 -0.0427)
OKLCHoklch(48.54% 0.165 345)
XYZxyz(17.5345, 9.9591, 17.5185)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B74 #2B9B52
analogous
#8A2B9B #9B2B74 #9B2B3C
triadic
#9B2B74 #749B2B #2B749B
tetradic
#9B2B74 #9B8A2B #2B9B52 #2B3C9B
square
#9B2B74 #9B8A2B #2B9B52 #2B3C9B
split-complementary
#9B2B74 #3C9B2B #2B9B8A
monochromatic
#3B102C #6B1E50 #9B2B74 #C93B97 #D66BB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2B74#FFFFFF#000000##FFFFFF
##9B2B741.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)
#384D76
Deuteranopia (green-blind)
#5A6071
Tritanopia (blue-blind)
#A5294C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b2b74;
/* rgb */ color: rgb(155, 43, 116);
/* oklch */ color: oklch(48.5% 0.165 345.0);
Tailwind
colors: {
  custom: {
    50: '#bc6e9c',
    500: '#9b2b74',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b74;
$custom-light: #bc6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b74",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 320.893,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.16547,
    "h": 345
  },
  "luminance": 0.09957
}

Semantic roles & 50–950 ramp

primary
#9B2B74
secondary
#65BC84
accent
#E07D48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9B2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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