#9B2A83#9B2A83

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

Color values

HEX#9B2A83
RGBrgb(155, 42, 131)
HSLhsl(313, 57%, 39%)
HSVhsv(313, 73%, 61%)
CMYKcmyk(0%, 72.9%, 15.5%, 39.2%)
CIE-LABlab(38.31, 55.36, -24.56)
CIE-LCHlch(38.31, 60.56, 336.07°)
OKLaboklab(49.16% 0.1635 -0.0666)
OKLCHoklch(49.16% 0.177 337.8)
XYZxyz(18.4426, 10.2649, 22.4784)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2A83 #2A9B42
analogous
#7A2A9B #9B2A83 #9B2A4A
triadic
#9B2A83 #839B2A #2A839B
tetradic
#9B2A83 #9B7A2A #2A9B42 #2A4A9B
square
#9B2A83 #9B7A2A #2A9B42 #2A4A9B
split-complementary
#9B2A83 #4A9B2A #2A9B7A
monochromatic
#3B1032 #6B1D5A #9B2A83 #C939AB #D669BF

Accessibility & contrast

On white

6.88
#9B2A83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9B2A83 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2A83
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2A83#FFFFFF#000000##FFFFFF
##9B2A831.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#546080
Tritanopia (blue-blind)
#A43053
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b2a83;
/* rgb */ color: rgb(155, 42, 131);
/* oklch */ color: oklch(49.2% 0.177 337.8);
Tailwind
colors: {
  custom: {
    50: '#bc6ea7',
    500: '#9b2a83',
    950: '#000000',
  },
}
SCSS
$custom: #9b2a83;
$custom-light: #bc6ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2a83",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 312.743,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49156,
    "c": 0.17659,
    "h": 337.8
  },
  "luminance": 0.10263
}

Semantic roles & 50–950 ramp

primary
#9B2A83
secondary
#64BD77
accent
#E16847
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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