#9A2161#9A2161

#9A2161 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.166 H 353.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#9A2161
RGBrgb(154, 33, 97)
HSLhsl(328, 65%, 37%)
HSVhsv(328, 79%, 60%)
CMYKcmyk(0%, 78.6%, 37%, 39.6%)
CIE-LABlab(35.64, 53.65, -7.29)
CIE-LCHlch(35.64, 54.15, 352.26°)
OKLaboklab(46.71% 0.1648 -0.0186)
OKLCHoklch(46.71% 0.166 353.5)
XYZxyz(16.0290, 8.8228, 12.1658)
Luminance0.0882 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2161 #219A5A
analogous
#97219A #9A2161 #9A2125
triadic
#9A2161 #619A21 #21619A
tetradic
#9A2161 #9A9721 #219A5A #21259A
square
#9A2161 #9A9721 #219A5A #21259A
split-complementary
#9A2161 #259A21 #219A97
monochromatic
#350B22 #681641 #9A2161 #CC2C81 #DC5A9E

Accessibility & contrast

On white

7.60
#9A2161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9A2161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2161
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2161#FFFFFF#000000##FFFFFF
##9A21611.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394663
Deuteranopia (green-blind)
#5B5C5E
Tritanopia (blue-blind)
#A6133E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a2161;
/* rgb */ color: rgb(154, 33, 97);
/* oklch */ color: oklch(46.7% 0.166 353.5);
Tailwind
colors: {
  custom: {
    50: '#bc698d',
    500: '#9a2161',
    950: '#000000',
  },
}
SCSS
$custom: #9a2161;
$custom-light: #bc698d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2161",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 328.264,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.16582,
    "h": 353.5
  },
  "luminance": 0.08821
}

Semantic roles & 50–950 ramp

primary
#9A2161
secondary
#57C088
accent
#E88F40
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A2161

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

Preview Lab → · Contrast checker → · Palette generator →

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