#9A2162#9A2162

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

Color values

HEX#9A2162
RGBrgb(154, 33, 98)
HSLhsl(328, 65%, 37%)
HSVhsv(328, 79%, 60%)
CMYKcmyk(0%, 78.6%, 36.4%, 39.6%)
CIE-LABlab(35.68, 53.77, -7.88)
CIE-LCHlch(35.68, 54.34, 351.66°)
OKLaboklab(46.75% 0.1651 -0.0202)
OKLCHoklch(46.75% 0.166 353)
XYZxyz(16.0759, 8.8416, 12.4129)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2162 #219A59
analogous
#96219A #9A2162 #9A2125
triadic
#9A2162 #629A21 #21629A
tetradic
#9A2162 #9A9621 #219A59 #21259A
square
#9A2162 #9A9621 #219A59 #21259A
split-complementary
#9A2162 #259A21 #219A96
monochromatic
#350B22 #681642 #9A2162 #CC2C82 #DC5AA0

Accessibility & contrast

On white

7.59
#9A2162 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A2162 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2162
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2162#FFFFFF#000000##FFFFFF
##9A21621.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384664
Deuteranopia (green-blind)
#5B5C5F
Tritanopia (blue-blind)
#A6143F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a2162;
/* rgb */ color: rgb(154, 33, 98);
/* oklch */ color: oklch(46.7% 0.166 353.0);
Tailwind
colors: {
  custom: {
    50: '#bc698e',
    500: '#9a2162',
    950: '#000000',
  },
}
SCSS
$custom: #9a2162;
$custom-light: #bc698e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2162",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 327.769,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46748,
    "c": 0.16628,
    "h": 353
  },
  "luminance": 0.0884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2162

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

Preview Lab → · Contrast checker → · Palette generator →

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