#9B2173#9B2173

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

Color values

HEX#9B2173
RGBrgb(155, 33, 115)
HSLhsl(320, 65%, 37%)
HSVhsv(320, 79%, 61%)
CMYKcmyk(0%, 78.7%, 25.8%, 39.2%)
CIE-LABlab(36.55, 56.08, -17.32)
CIE-LCHlch(36.55, 58.69, 342.84°)
OKLaboklab(47.64% 0.17 -0.0461)
OKLCHoklch(47.64% 0.176 344.8)
XYZxyz(17.1567, 9.2960, 17.1071)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2173 #219B49
analogous
#86219B #9B2173 #9B2136
triadic
#9B2173 #739B21 #21739B
tetradic
#9B2173 #9B8621 #219B49 #21369B
square
#9B2173 #9B8621 #219B49 #21369B
split-complementary
#9B2173 #369B21 #219B86
monochromatic
#360C28 #69164E #9B2173 #CD2C98 #DC5AB1

Accessibility & contrast

On white

7.35
#9B2173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9B2173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2173
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2173#FFFFFF#000000##FFFFFF
##9B21731.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314975
Deuteranopia (green-blind)
#575D70
Tritanopia (blue-blind)
#A61F48
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9b2173;
/* rgb */ color: rgb(155, 33, 115);
/* oklch */ color: oklch(47.6% 0.176 344.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a9b',
    500: '#9b2173',
    950: '#000000',
  },
}
SCSS
$custom: #9b2173;
$custom-light: #bd6a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2173",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 319.672,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47639,
    "c": 0.17611,
    "h": 344.8
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#9B2173
secondary
#58C07A
accent
#E87740
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9B2173

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

Preview Lab → · Contrast checker → · Palette generator →

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