#9B2180#9B2180

#9B2180 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.3% C 0.184 H 338.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9B2180
RGBrgb(155, 33, 128)
HSLhsl(313, 65%, 37%)
HSVhsv(313, 79%, 61%)
CMYKcmyk(0%, 78.7%, 17.4%, 39.2%)
CIE-LABlab(37.15, 57.83, -24.52)
CIE-LCHlch(37.15, 62.82, 337.02°)
OKLaboklab(48.27% 0.1719 -0.0665)
OKLCHoklch(48.27% 0.184 338.9)
XYZxyz(17.9582, 9.6166, 21.3283)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2180 #219B3C
analogous
#79219B #9B2180 #9B2143
triadic
#9B2180 #809B21 #21809B
tetradic
#9B2180 #9B7921 #219B3C #21439B
square
#9B2180 #9B7921 #219B3C #21439B
split-complementary
#9B2180 #439B21 #219B79
monochromatic
#360C2D #691656 #9B2180 #CD2CAA #DC5ABF

Accessibility & contrast

On white

7.18
#9B2180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9B2180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2180
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2180#FFFFFF#000000##FFFFFF
##9B21801.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B82
Deuteranopia (green-blind)
#525E7D
Tritanopia (blue-blind)
#A4274F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9b2180;
/* rgb */ color: rgb(155, 33, 128);
/* oklch */ color: oklch(48.3% 0.184 338.9);
Tailwind
colors: {
  custom: {
    50: '#bc6ba5',
    500: '#9b2180',
    950: '#000000',
  },
}
SCSS
$custom: #9b2180;
$custom-light: #bc6ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2180",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 313.279,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48265,
    "c": 0.18434,
    "h": 338.9
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#9B2180
secondary
#58C06F
accent
#E86540
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2180

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

Preview Lab → · Contrast checker → · Palette generator →

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