#9B2172#9B2172

#9B2172 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 345.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9B2172
RGBrgb(155, 33, 114)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 78.7%, 26.5%, 39.2%)
CIE-LABlab(36.50, 55.95, -16.76)
CIE-LCHlch(36.50, 58.40, 343.33°)
OKLaboklab(47.59% 0.1698 -0.0446)
OKLCHoklch(47.59% 0.176 345.3)
XYZxyz(17.0994, 9.2731, 16.8057)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2172 #219B4A
analogous
#87219B #9B2172 #9B2135
triadic
#9B2172 #729B21 #21729B
tetradic
#9B2172 #9B8721 #219B4A #21359B
square
#9B2172 #9B8721 #219B4A #21359B
split-complementary
#9B2172 #359B21 #219B87
monochromatic
#360C28 #69164D #9B2172 #CD2C97 #DC5AB0

Accessibility & contrast

On white

7.36
#9B2172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9B2172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2172
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2172#FFFFFF#000000##FFFFFF
##9B21721.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#575D6F
Tritanopia (blue-blind)
#A61E47
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2172;
/* rgb */ color: rgb(155, 33, 114);
/* oklch */ color: oklch(47.6% 0.176 345.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a9a',
    500: '#9b2172',
    950: '#000000',
  },
}
SCSS
$custom: #9b2172;
$custom-light: #bd6a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2172",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 114
  },
  "hsl": {
    "h": 320.164,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47593,
    "c": 0.17552,
    "h": 345.3
  },
  "luminance": 0.09271
}

Semantic roles & 50–950 ramp

primary
#9B2172
secondary
#58C07B
accent
#E87840
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2172

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

Preview Lab → · Contrast checker → · Palette generator →

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