#9B2161#9B2161

#9B2161 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.167 H 353.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9B2161
RGBrgb(155, 33, 97)
HSLhsl(329, 65%, 37%)
HSVhsv(329, 79%, 61%)
CMYKcmyk(0%, 78.7%, 37.4%, 39.2%)
CIE-LABlab(35.83, 53.92, -6.99)
CIE-LCHlch(35.83, 54.37, 352.62°)
OKLaboklab(46.88% 0.1656 -0.0178)
OKLCHoklch(46.88% 0.167 353.9)
XYZxyz(16.2202, 8.9214, 12.1748)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2161 #219B5B
analogous
#98219B #9B2161 #9B2124
triadic
#9B2161 #619B21 #21619B
tetradic
#9B2161 #9B9821 #219B5B #21249B
square
#9B2161 #9B9821 #219B5B #21249B
split-complementary
#9B2161 #249B21 #219B98
monochromatic
#360C22 #691641 #9B2161 #CD2C81 #DC5A9E

Accessibility & contrast

On white

7.54
#9B2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9B2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2161
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2161#FFFFFF#000000##FFFFFF
##9B21611.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#5C5C5E
Tritanopia (blue-blind)
#A8123E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2161;
/* rgb */ color: rgb(155, 33, 97);
/* oklch */ color: oklch(46.9% 0.167 353.9);
Tailwind
colors: {
  custom: {
    50: '#bd6a8d',
    500: '#9b2161',
    950: '#000000',
  },
}
SCSS
$custom: #9b2161;
$custom-light: #bd6a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2161",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 328.525,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46884,
    "c": 0.16659,
    "h": 353.9
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

primary
#9B2161
secondary
#58C089
accent
#E89040
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B2161

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

Preview Lab → · Contrast checker → · Palette generator →

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