#9B2D82#9B2D82

#9B2D82 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.172 H 338.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9B2D82
RGBrgb(155, 45, 130)
HSLhsl(314, 55%, 39%)
HSVhsv(314, 71%, 61%)
CMYKcmyk(0%, 71%, 16.1%, 39.2%)
CIE-LABlab(38.65, 54.12, -23.41)
CIE-LCHlch(38.65, 58.96, 336.60°)
OKLaboklab(49.39% 0.1601 -0.0634)
OKLCHoklch(49.39% 0.172 338.4)
XYZxyz(18.4856, 10.4587, 22.1599)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2D82 #2D9B46
analogous
#7D2D9B #9B2D82 #9B2D4B
triadic
#9B2D82 #829B2D #2D829B
tetradic
#9B2D82 #9B7D2D #2D9B46 #2D4B9B
square
#9B2D82 #9B7D2D #2D9B46 #2D4B9B
split-complementary
#9B2D82 #4B9B2D #2D9B7D
monochromatic
#3C1132 #6C1F5A #9B2D82 #C73EA8 #D56EBD

Accessibility & contrast

On white

6.79
#9B2D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9B2D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2D82
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2D82#FFFFFF#000000##FFFFFF
##9B2D821.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325084
Deuteranopia (green-blind)
#56617F
Tritanopia (blue-blind)
#A43253
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b2d82;
/* rgb */ color: rgb(155, 45, 130);
/* oklch */ color: oklch(49.4% 0.172 338.4);
Tailwind
colors: {
  custom: {
    50: '#bc70a6',
    500: '#9b2d82',
    950: '#000000',
  },
}
SCSS
$custom: #9b2d82;
$custom-light: #bc70a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2d82",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 313.636,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.17222,
    "h": 338.4
  },
  "luminance": 0.10457
}

Semantic roles & 50–950 ramp

primary
#9B2D82
secondary
#68BC7B
accent
#DE6B49
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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