#9B2162#9B2162

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

Color values

HEX#9B2162
RGBrgb(155, 33, 98)
HSLhsl(328, 65%, 37%)
HSVhsv(328, 79%, 61%)
CMYKcmyk(0%, 78.7%, 36.8%, 39.2%)
CIE-LABlab(35.87, 54.03, -7.57)
CIE-LCHlch(35.87, 54.56, 352.02°)
OKLaboklab(46.92% 0.1659 -0.0194)
OKLCHoklch(46.92% 0.167 353.3)
XYZxyz(16.2671, 8.9401, 12.4219)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2162 #219B5A
analogous
#97219B #9B2162 #9B2125
triadic
#9B2162 #629B21 #21629B
tetradic
#9B2162 #9B9721 #219B5A #21259B
square
#9B2162 #9B9721 #219B5A #21259B
split-complementary
#9B2162 #259B21 #219B97
monochromatic
#360C22 #691642 #9B2162 #CD2C82 #DC5A9F

Accessibility & contrast

On white

7.53
#9B2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9B2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2162
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2162#FFFFFF#000000##FFFFFF
##9B21621.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394664
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A7133F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2162;
/* rgb */ color: rgb(155, 33, 98);
/* oklch */ color: oklch(46.9% 0.167 353.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a8e',
    500: '#9b2162',
    950: '#000000',
  },
}
SCSS
$custom: #9b2162;
$custom-light: #bd6a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2162",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 328.033,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.16705,
    "h": 353.3
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#9B2162
secondary
#58C088
accent
#E88E40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B2162

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

Preview Lab → · Contrast checker → · Palette generator →

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