#A73178#A73178

#A73178 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.169 H 347.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A73178
RGBrgb(167, 49, 120)
HSLhsl(324, 55%, 42%)
HSVhsv(324, 71%, 65%)
CMYKcmyk(0%, 70.7%, 28.1%, 34.5%)
CIE-LABlab(40.85, 54.45, -13.67)
CIE-LCHlch(40.85, 56.14, 345.91°)
OKLaboklab(51.24% 0.1655 -0.036)
OKLCHoklch(51.24% 0.169 347.7)
XYZxyz(20.4258, 11.7704, 18.9619)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A73178 #31A760
analogous
#9B31A7 #A73178 #A7313D
triadic
#A73178 #78A731 #3178A7
tetradic
#A73178 #A79B31 #31A760 #313DA7
square
#A73178 #A79B31 #31A760 #313DA7
split-complementary
#A73178 #3DA731 #31A79B
monochromatic
#481534 #782356 #A73178 #CA4B98 #D87AB3

Accessibility & contrast

On white

6.26
#A73178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A73178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A73178
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A73178#FFFFFF#000000##FFFFFF
##A731781.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41537A
Deuteranopia (green-blind)
#636875
Tritanopia (blue-blind)
#B32D50
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a73178;
/* rgb */ color: rgb(167, 49, 120);
/* oklch */ color: oklch(51.2% 0.169 347.7);
Tailwind
colors: {
  custom: {
    50: '#c5739f',
    500: '#a73178',
    950: '#000000',
  },
}
SCSS
$custom: #a73178;
$custom-light: #c5739f;
$custom-dark: #000000;
JSON
{
  "hex": "#a73178",
  "rgb": {
    "r": 167,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 323.898,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51244,
    "c": 0.16932,
    "h": 347.7
  },
  "luminance": 0.11768
}

Semantic roles & 50–950 ramp

primary
#A73178
secondary
#73C192
accent
#DE854A
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A73178

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

Preview Lab → · Contrast checker → · Palette generator →

#A73178 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva