#9A2179#9A2179

#9A2179 is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.179 H 341.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2179
RGBrgb(154, 33, 121)
HSLhsl(316, 65%, 37%)
HSVhsv(316, 79%, 60%)
CMYKcmyk(0%, 78.6%, 21.4%, 39.6%)
CIE-LABlab(36.63, 56.62, -20.97)
CIE-LCHlch(36.63, 60.38, 339.68°)
OKLaboklab(47.75% 0.1701 -0.0564)
OKLCHoklch(47.75% 0.179 341.6)
XYZxyz(17.3221, 9.3400, 18.9760)
Luminance0.0934 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2179 #219A42
analogous
#7F219A #9A2179 #9A213C
triadic
#9A2179 #799A21 #21799A
tetradic
#9A2179 #9A7F21 #219A42 #213C9A
square
#9A2179 #9A7F21 #219A42 #213C9A
split-complementary
#9A2179 #3C9A21 #219A7F
monochromatic
#350B2A #681651 #9A2179 #CC2CA1 #DC5AB8

Accessibility & contrast

On white

7.32
#9A2179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A2179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A2179
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2179#FFFFFF#000000##FFFFFF
##9A21791.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7B
Deuteranopia (green-blind)
#545D76
Tritanopia (blue-blind)
#A4234B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2179;
/* rgb */ color: rgb(154, 33, 121);
/* oklch */ color: oklch(47.8% 0.179 341.6);
Tailwind
colors: {
  custom: {
    50: '#bc6aa0',
    500: '#9a2179',
    950: '#000000',
  },
}
SCSS
$custom: #9a2179;
$custom-light: #bc6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2179",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 316.364,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47752,
    "c": 0.17917,
    "h": 341.6
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#9A2179
secondary
#57C074
accent
#E86E40
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A2179

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

Preview Lab → · Contrast checker → · Palette generator →

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