#9B3166#9B3166

#9B3166 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.150 H 353.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9B3166
RGBrgb(155, 49, 102)
HSLhsl(330, 52%, 40%)
HSVhsv(330, 68%, 61%)
CMYKcmyk(0%, 68.4%, 34.2%, 39.2%)
CIE-LABlab(38.07, 48.74, -6.82)
CIE-LCHlch(38.07, 49.22, 352.04°)
OKLaboklab(48.58% 0.1489 -0.0174)
OKLCHoklch(48.58% 0.15 353.3)
XYZxyz(17.0151, 10.1264, 13.6263)
Luminance0.1012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B3166 #319B66
analogous
#9B319B #9B3166 #9B3131
triadic
#9B3166 #669B31 #31669B
tetradic
#9B3166 #9B9B31 #319B66 #31319B
square
#9B3166 #9B9B31 #319B66 #31319B
split-complementary
#9B3166 #319B31 #319B9B
monochromatic
#3E1429 #6D2247 #9B3166 #C44585 #D373A3

Accessibility & contrast

On white

6.94
#9B3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B3166
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B3166#FFFFFF#000000##FFFFFF
##9B31661.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424D67
Deuteranopia (green-blind)
#606164
Tritanopia (blue-blind)
#A72947
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b3166;
/* rgb */ color: rgb(155, 49, 102);
/* oklch */ color: oklch(48.6% 0.150 353.3);
Tailwind
colors: {
  custom: {
    50: '#bc7191',
    500: '#9b3166',
    950: '#000000',
  },
}
SCSS
$custom: #9b3166;
$custom-light: #bc7191;
$custom-dark: #000000;
JSON
{
  "hex": "#9b3166",
  "rgb": {
    "r": 155,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 330,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.48583,
    "c": 0.14996,
    "h": 353.3
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#9B3166
secondary
#6DBB94
accent
#DB944C
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #9B3166

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

Preview Lab → · Contrast checker → · Palette generator →

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