#A52178#A52178

#A52178 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.186 H 345.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A52178
RGBrgb(165, 33, 120)
HSLhsl(320, 67%, 39%)
HSVhsv(320, 80%, 65%)
CMYKcmyk(0%, 80%, 27.3%, 35.3%)
CIE-LABlab(38.63, 59.18, -17.09)
CIE-LCHlch(38.63, 61.60, 343.89°)
OKLaboklab(49.56% 0.1799 -0.0454)
OKLCHoklch(49.56% 0.186 345.8)
XYZxyz(19.4520, 10.4453, 18.7574)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52178 #21A54E
analogous
#9021A5 #A52178 #A52136
triadic
#A52178 #78A521 #2178A5
tetradic
#A52178 #A59021 #21A54E #2136A5
square
#A52178 #A59021 #21A54E #2136A5
split-complementary
#A52178 #36A521 #21A590
monochromatic
#3F0D2E #721753 #A52178 #D52E9C #DF61B4

Accessibility & contrast

On white

6.80
#A52178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A52178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52178
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52178#FFFFFF#000000##FFFFFF
##A521781.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344D7A
Deuteranopia (green-blind)
#5D6375
Tritanopia (blue-blind)
#B11D4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52178;
/* rgb */ color: rgb(165, 33, 120);
/* oklch */ color: oklch(49.6% 0.186 345.8);
Tailwind
colors: {
  custom: {
    50: '#c46c9f',
    500: '#a52178',
    950: '#000000',
  },
}
SCSS
$custom: #a52178;
$custom-light: #c46c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52178",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 320.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.18557,
    "h": 345.8
  },
  "luminance": 0.10443
}

Semantic roles & 50–950 ramp

primary
#A52178
secondary
#5EC481
accent
#EA793E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A52178

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

Preview Lab → · Contrast checker → · Palette generator →

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