#9A2177#9A2177

#9A2177 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.7% C 0.178 H 342.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9A2177
RGBrgb(154, 33, 119)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 60%)
CMYKcmyk(0%, 78.6%, 22.7%, 39.6%)
CIE-LABlab(36.54, 56.35, -19.86)
CIE-LCHlch(36.54, 59.75, 340.59°)
OKLaboklab(47.66% 0.1697 -0.0533)
OKLCHoklch(47.66% 0.178 342.6)
XYZxyz(17.2007, 9.2915, 18.3368)
Luminance0.0929 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2177 #219A44
analogous
#81219A #9A2177 #9A213B
triadic
#9A2177 #779A21 #21779A
tetradic
#9A2177 #9A8121 #219A44 #213B9A
square
#9A2177 #9A8121 #219A44 #213B9A
split-complementary
#9A2177 #3B9A21 #219A81
monochromatic
#350B29 #681650 #9A2177 #CC2C9E #DC5AB6

Accessibility & contrast

On white

7.35
#9A2177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9A2177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2177
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2177#FFFFFF#000000##FFFFFF
##9A21771.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4979
Deuteranopia (green-blind)
#545D74
Tritanopia (blue-blind)
#A4224A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2177;
/* rgb */ color: rgb(154, 33, 119);
/* oklch */ color: oklch(47.7% 0.178 342.6);
Tailwind
colors: {
  custom: {
    50: '#bc6a9e',
    500: '#9a2177',
    950: '#000000',
  },
}
SCSS
$custom: #9a2177;
$custom-light: #bc6a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2177",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 317.355,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.17791,
    "h": 342.6
  },
  "luminance": 0.0929
}

Semantic roles & 50–950 ramp

primary
#9A2177
secondary
#57C075
accent
#E87140
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2177

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

Preview Lab → · Contrast checker → · Palette generator →

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