#9B3185#9B3185

#9B3185 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 337.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#9B3185
RGBrgb(155, 49, 133)
HSLhsl(312, 52%, 40%)
HSVhsv(312, 68%, 61%)
CMYKcmyk(0%, 68.4%, 14.2%, 39.2%)
CIE-LABlab(39.34, 53.03, -24.19)
CIE-LCHlch(39.34, 58.28, 335.48°)
OKLaboklab(49.93% 0.156 -0.0656)
OKLCHoklch(49.93% 0.169 337.2)
XYZxyz(18.8498, 10.8603, 23.2892)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3185 #319B47
analogous
#7C319B #9B3185 #9B3150
triadic
#9B3185 #859B31 #31859B
tetradic
#9B3185 #9B7C31 #319B47 #31509B
square
#9B3185 #9B7C31 #319B47 #31509B
split-complementary
#9B3185 #509B31 #319B7C
monochromatic
#3E1435 #6D225D #9B3185 #C445AA #D373BF

Accessibility & contrast

On white

6.62
#9B3185 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B3185 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3185
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3185#FFFFFF#000000##FFFFFF
##9B31851.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345287
Deuteranopia (green-blind)
#566382
Tritanopia (blue-blind)
#A33656
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b3185;
/* rgb */ color: rgb(155, 49, 133);
/* oklch */ color: oklch(49.9% 0.169 337.2);
Tailwind
colors: {
  custom: {
    50: '#bc72a8',
    500: '#9b3185',
    950: '#000000',
  },
}
SCSS
$custom: #9b3185;
$custom-light: #bc72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3185",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 312.453,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.49934,
    "c": 0.1692,
    "h": 337.2
  },
  "luminance": 0.10859
}

Semantic roles & 50–950 ramp

primary
#9B3185
secondary
#6DBB7D
accent
#DB6A4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B3185

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

Preview Lab → · Contrast checker → · Palette generator →

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