#9B2066#9B2066

#9B2066 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.170 H 351.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9B2066
RGBrgb(155, 32, 102)
HSLhsl(326, 66%, 37%)
HSVhsv(326, 79%, 61%)
CMYKcmyk(0%, 79.4%, 34.2%, 39.2%)
CIE-LABlab(35.91, 54.79, -10.06)
CIE-LCHlch(35.91, 55.70, 349.60°)
OKLaboklab(47% 0.168 -0.0261)
OKLCHoklch(47% 0.17 351.2)
XYZxyz(16.4333, 8.9629, 13.4324)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2066 #209B55
analogous
#93209B #9B2066 #9B2028
triadic
#9B2066 #669B20 #20669B
tetradic
#9B2066 #9B9320 #209B55 #20289B
square
#9B2066 #9B9320 #209B55 #20289B
split-complementary
#9B2066 #289B20 #209B93
monochromatic
#360B23 #681645 #9B2066 #CE2A87 #DD59A4

Accessibility & contrast

On white

7.52
#9B2066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9B2066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B2066
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2066#FFFFFF#000000##FFFFFF
##9B20661.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374668
Deuteranopia (green-blind)
#5A5C63
Tritanopia (blue-blind)
#A71540
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b2066;
/* rgb */ color: rgb(155, 32, 102);
/* oklch */ color: oklch(47.0% 0.170 351.2);
Tailwind
colors: {
  custom: {
    50: '#bd6991',
    500: '#9b2066',
    950: '#000000',
  },
}
SCSS
$custom: #9b2066;
$custom-light: #bd6991;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2066",
  "rgb": {
    "r": 155,
    "g": 32,
    "b": 102
  },
  "hsl": {
    "h": 325.854,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47004,
    "c": 0.16997,
    "h": 351.2
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#9B2066
secondary
#56C184
accent
#E9883F
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9B2066

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

Preview Lab → · Contrast checker → · Palette generator →

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