#9A2178#9A2178

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

Color values

HEX#9A2178
RGBrgb(154, 33, 120)
HSLhsl(317, 65%, 37%)
HSVhsv(317, 79%, 60%)
CMYKcmyk(0%, 78.6%, 22.1%, 39.6%)
CIE-LABlab(36.59, 56.49, -20.42)
CIE-LCHlch(36.59, 60.07, 340.13°)
OKLaboklab(47.7% 0.1699 -0.0548)
OKLCHoklch(47.7% 0.179 342.1)
XYZxyz(17.2611, 9.3156, 18.6547)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2178 #219A43
analogous
#80219A #9A2178 #9A213B
triadic
#9A2178 #789A21 #21789A
tetradic
#9A2178 #9A8021 #219A43 #213B9A
square
#9A2178 #9A8021 #219A43 #213B9A
split-complementary
#9A2178 #3B9A21 #219A80
monochromatic
#350B29 #681651 #9A2178 #CC2C9F #DC5AB7

Accessibility & contrast

On white

7.34
#9A2178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A2178
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2178#FFFFFF#000000##FFFFFF
##9A21781.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4A7A
Deuteranopia (green-blind)
#545D75
Tritanopia (blue-blind)
#A4234A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a2178;
/* rgb */ color: rgb(154, 33, 120);
/* oklch */ color: oklch(47.7% 0.179 342.1);
Tailwind
colors: {
  custom: {
    50: '#bc6a9f',
    500: '#9a2178',
    950: '#000000',
  },
}
SCSS
$custom: #9a2178;
$custom-light: #bc6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2178",
  "rgb": {
    "r": 154,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 316.86,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.17853,
    "h": 342.1
  },
  "luminance": 0.09314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A2178

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

Preview Lab → · Contrast checker → · Palette generator →

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