#9B2156#9B2156

#9B2156 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.162 H 359.8°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9B2156
RGBrgb(155, 33, 86)
HSLhsl(334, 65%, 37%)
HSVhsv(334, 79%, 61%)
CMYKcmyk(0%, 78.7%, 44.5%, 39.2%)
CIE-LABlab(35.46, 52.78, -0.47)
CIE-LCHlch(35.46, 52.78, 359.49°)
OKLaboklab(46.49% 0.1622 -0.0006)
OKLCHoklch(46.49% 0.162 359.8)
XYZxyz(15.7424, 8.7302, 9.6584)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2156 #219B66
analogous
#9B2193 #9B2156 #9B2921
triadic
#9B2156 #569B21 #21569B
tetradic
#9B2156 #939B21 #219B66 #29219B
square
#9B2156 #939B21 #219B66 #29219B
split-complementary
#9B2156 #219B29 #21939B
monochromatic
#360C1E #69163A #9B2156 #CD2C72 #DC5A93

Accessibility & contrast

On white

7.65
#9B2156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9B2156 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2156
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2156#FFFFFF#000000##FFFFFF
##9B21561.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4557
Deuteranopia (green-blind)
#5E5C53
Tritanopia (blue-blind)
#A80739
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b2156;
/* rgb */ color: rgb(155, 33, 86);
/* oklch */ color: oklch(46.5% 0.162 359.8);
Tailwind
colors: {
  custom: {
    50: '#be6985',
    500: '#9b2156',
    950: '#000000',
  },
}
SCSS
$custom: #9b2156;
$custom-light: #be6985;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2156",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 86
  },
  "hsl": {
    "h": 333.934,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.16217,
    "h": 359.8
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#9B2156
secondary
#58C093
accent
#E89F40
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9B2156

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

Preview Lab → · Contrast checker → · Palette generator →

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