#9A2166#9A2166

#9A2166 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.9% C 0.168 H 350.9°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9A2166
RGBrgb(154, 33, 102)
HSLhsl(326, 65%, 37%)
HSVhsv(326, 79%, 60%)
CMYKcmyk(0%, 78.6%, 33.8%, 39.6%)
CIE-LABlab(35.83, 54.22, -10.20)
CIE-LCHlch(35.83, 55.17, 349.34°)
OKLaboklab(46.91% 0.1661 -0.0265)
OKLCHoklch(46.91% 0.168 350.9)
XYZxyz(16.2695, 8.9190, 13.4326)
Luminance0.0892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2166 #219A55
analogous
#92219A #9A2166 #9A212A
triadic
#9A2166 #669A21 #21669A
tetradic
#9A2166 #9A9221 #219A55 #212A9A
square
#9A2166 #9A9221 #219A55 #212A9A
split-complementary
#9A2166 #2A9A21 #219A92
monochromatic
#350B23 #681645 #9A2166 #CC2C87 #DC5AA4

Accessibility & contrast

On white

7.54
#9A2166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#9A2166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2166
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2166#FFFFFF#000000##FFFFFF
##9A21661.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a2166;
/* rgb */ color: rgb(154, 33, 102);
/* oklch */ color: oklch(46.9% 0.168 350.9);
Tailwind
colors: {
  custom: {
    50: '#bc6a91',
    500: '#9a2166',
    950: '#000000',
  },
}
SCSS
$custom: #9a2166;
$custom-light: #bc6a91;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2166",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 102
  },
  "hsl": {
    "h": 325.785,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46907,
    "c": 0.16823,
    "h": 350.9
  },
  "luminance": 0.08917
}

Semantic roles & 50–950 ramp

primary
#9A2166
secondary
#57C084
accent
#E88840
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A2166

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

Preview Lab → · Contrast checker → · Palette generator →

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