#9B2159#9B2159

#9B2159 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.163 H 358.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9B2159
RGBrgb(155, 33, 89)
HSLhsl(332, 65%, 37%)
HSVhsv(332, 79%, 61%)
CMYKcmyk(0%, 78.7%, 42.6%, 39.2%)
CIE-LABlab(35.56, 53.08, -2.26)
CIE-LCHlch(35.56, 53.13, 357.56°)
OKLaboklab(46.59% 0.1632 -0.0053)
OKLCHoklch(46.59% 0.163 358.1)
XYZxyz(15.8658, 8.7796, 10.3084)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2159 #219B63
analogous
#9B2196 #9B2159 #9B2621
triadic
#9B2159 #599B21 #21599B
tetradic
#9B2159 #969B21 #219B63 #26219B
square
#9B2159 #969B21 #219B63 #26219B
split-complementary
#9B2159 #219B26 #21969B
monochromatic
#360C1F #69163C #9B2159 #CD2C76 #DC5A96

Accessibility & contrast

On white

7.62
#9B2159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9B2159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2159
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2159#FFFFFF#000000##FFFFFF
##9B21591.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C455A
Deuteranopia (green-blind)
#5E5C56
Tritanopia (blue-blind)
#A80B3A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2159;
/* rgb */ color: rgb(155, 33, 89);
/* oklch */ color: oklch(46.6% 0.163 358.1);
Tailwind
colors: {
  custom: {
    50: '#be6987',
    500: '#9b2159',
    950: '#000000',
  },
}
SCSS
$custom: #9b2159;
$custom-light: #be6987;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2159",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 89
  },
  "hsl": {
    "h": 332.459,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46592,
    "c": 0.16326,
    "h": 358.1
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#9B2159
secondary
#58C090
accent
#E89B40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2159

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

Preview Lab → · Contrast checker → · Palette generator →

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