#9B2182#9B2182

#9B2182 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.4% C 0.186 H 338.0°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9B2182
RGBrgb(155, 33, 130)
HSLhsl(312, 65%, 37%)
HSVhsv(312, 79%, 61%)
CMYKcmyk(0%, 78.7%, 16.1%, 39.2%)
CIE-LABlab(37.24, 58.12, -25.61)
CIE-LCHlch(37.24, 63.51, 336.22°)
OKLaboklab(48.37% 0.1722 -0.0696)
OKLCHoklch(48.37% 0.186 338)
XYZxyz(18.0911, 9.6697, 22.0284)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2182 #219B3A
analogous
#77219B #9B2182 #9B2145
triadic
#9B2182 #829B21 #21829B
tetradic
#9B2182 #9B7721 #219B3A #21459B
square
#9B2182 #9B7721 #219B3A #21459B
split-complementary
#9B2182 #459B21 #219B77
monochromatic
#360C2D #691658 #9B2182 #CD2CAC #DC5AC1

Accessibility & contrast

On white

7.16
#9B2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9B2182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2182
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2182#FFFFFF#000000##FFFFFF
##9B21821.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#515E7F
Tritanopia (blue-blind)
#A42850
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b2182;
/* rgb */ color: rgb(155, 33, 130);
/* oklch */ color: oklch(48.4% 0.186 338.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ba6',
    500: '#9b2182',
    950: '#000000',
  },
}
SCSS
$custom: #9b2182;
$custom-light: #bc6ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2182",
  "rgb": {
    "r": 155,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 312.295,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48367,
    "c": 0.18569,
    "h": 338
  },
  "luminance": 0.09668
}

Semantic roles & 50–950 ramp

primary
#9B2182
secondary
#58C06D
accent
#E86240
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9B2182

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

Preview Lab → · Contrast checker → · Palette generator →

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