#9B2A84#9B2A84

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

Color values

HEX#9B2A84
RGBrgb(155, 42, 132)
HSLhsl(312, 57%, 39%)
HSVhsv(312, 73%, 61%)
CMYKcmyk(0%, 72.9%, 14.8%, 39.2%)
CIE-LABlab(38.36, 55.50, -25.10)
CIE-LCHlch(38.36, 60.92, 335.66°)
OKLaboklab(49.21% 0.1637 -0.0682)
OKLCHoklch(49.21% 0.177 337.4)
XYZxyz(18.5107, 10.2921, 22.8370)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A84 #2A9B41
analogous
#792A9B #9B2A84 #9B2A4C
triadic
#9B2A84 #849B2A #2A849B
tetradic
#9B2A84 #9B792A #2A9B41 #2A4C9B
square
#9B2A84 #9B792A #2A9B41 #2A4C9B
split-complementary
#9B2A84 #4C9B2A #2A9B79
monochromatic
#3B1032 #6B1D5B #9B2A84 #C939AC #D669C0

Accessibility & contrast

On white

6.87
#9B2A84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2A84
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A84#FFFFFF#000000##FFFFFF
##9B2A841.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F87
Deuteranopia (green-blind)
#546181
Tritanopia (blue-blind)
#A33054
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2a84;
/* rgb */ color: rgb(155, 42, 132);
/* oklch */ color: oklch(49.2% 0.177 337.4);
Tailwind
colors: {
  custom: {
    50: '#bc6fa8',
    500: '#9b2a84',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a84;
$custom-light: #bc6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a84",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 312.212,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.1773,
    "h": 337.4
  },
  "luminance": 0.1029
}

Semantic roles & 50–950 ramp

primary
#9B2A84
secondary
#64BD76
accent
#E16647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2A84

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

Preview Lab → · Contrast checker → · Palette generator →

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