#9B2B82#9B2B82

#9B2B82 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.175 H 338.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9B2B82
RGBrgb(155, 43, 130)
HSLhsl(313, 57%, 39%)
HSVhsv(313, 72%, 61%)
CMYKcmyk(0%, 72.3%, 16.1%, 39.2%)
CIE-LABlab(38.39, 54.85, -23.82)
CIE-LCHlch(38.39, 59.80, 336.53°)
OKLaboklab(49.2% 0.1623 -0.0645)
OKLCHoklch(49.2% 0.175 338.3)
XYZxyz(18.4111, 10.3097, 22.1351)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2B82 #2B9B44
analogous
#7C2B9B #9B2B82 #9B2B4A
triadic
#9B2B82 #829B2B #2B829B
tetradic
#9B2B82 #9B7C2B #2B9B44 #2B4A9B
square
#9B2B82 #9B7C2B #2B9B44 #2B4A9B
split-complementary
#9B2B82 #4A9B2B #2B9B7C
monochromatic
#3B1032 #6B1E5A #9B2B82 #C93BA9 #D66BBE

Accessibility & contrast

On white

6.86
#9B2B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9B2B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2B82
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2B82#FFFFFF#000000##FFFFFF
##9B2B821.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#55617F
Tritanopia (blue-blind)
#A43053
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2b82;
/* rgb */ color: rgb(155, 43, 130);
/* oklch */ color: oklch(49.2% 0.175 338.3);
Tailwind
colors: {
  custom: {
    50: '#bc6fa6',
    500: '#9b2b82',
    950: '#000000',
  },
}
SCSS
$custom: #9b2b82;
$custom-light: #bc6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2b82",
  "rgb": {
    "r": 155,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 313.393,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.17469,
    "h": 338.3
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#9B2B82
secondary
#65BC79
accent
#E06A48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2B82

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

Preview Lab → · Contrast checker → · Palette generator →

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