#9B2152#9B2152

#9B2152 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.161 H 2.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2152
RGBrgb(155, 33, 82)
HSLhsl(336, 65%, 37%)
HSVhsv(336, 79%, 61%)
CMYKcmyk(0%, 78.7%, 47.1%, 39.2%)
CIE-LABlab(35.34, 52.40, 1.93)
CIE-LCHlch(35.34, 52.43, 2.11°)
OKLaboklab(46.36% 0.1608 0.0055)
OKLCHoklch(46.36% 0.161 2)
XYZxyz(15.5857, 8.6676, 8.8333)
Luminance0.0867 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2152 #219B6A
analogous
#9B218F #9B2152 #9B2D21
triadic
#9B2152 #529B21 #21529B
tetradic
#9B2152 #8F9B21 #219B6A #2D219B
square
#9B2152 #8F9B21 #219B6A #2D219B
split-complementary
#9B2152 #219B2D #218F9B
monochromatic
#360C1D #691637 #9B2152 #CD2C6D #DC5A8E

Accessibility & contrast

On white

7.68
#9B2152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9B2152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2152
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2152#FFFFFF#000000##FFFFFF
##9B21521.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4453
Deuteranopia (green-blind)
#5F5C4F
Tritanopia (blue-blind)
#A90337
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9b2152;
/* rgb */ color: rgb(155, 33, 82);
/* oklch */ color: oklch(46.4% 0.161 2.0);
Tailwind
colors: {
  custom: {
    50: '#be6982',
    500: '#9b2152',
    950: '#000000',
  },
}
SCSS
$custom: #9b2152;
$custom-light: #be6982;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2152",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 335.902,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.16087,
    "h": 2
  },
  "luminance": 0.08665
}

Semantic roles & 50–950 ramp

primary
#9B2152
secondary
#58C096
accent
#E8A440
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B2152

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

Preview Lab → · Contrast checker → · Palette generator →

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