#A52177#A52177

#A52177 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.185 H 346.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A52177
RGBrgb(165, 33, 119)
HSLhsl(321, 67%, 39%)
HSVhsv(321, 80%, 65%)
CMYKcmyk(0%, 80%, 27.9%, 35.3%)
CIE-LABlab(38.59, 59.06, -16.53)
CIE-LCHlch(38.59, 61.33, 344.36°)
OKLaboklab(49.52% 0.1797 -0.0438)
OKLCHoklch(49.52% 0.185 346.3)
XYZxyz(19.3916, 10.4212, 18.4395)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52177 #21A54F
analogous
#9121A5 #A52177 #A52135
triadic
#A52177 #77A521 #2177A5
tetradic
#A52177 #A59121 #21A54F #2135A5
square
#A52177 #A59121 #21A54F #2135A5
split-complementary
#A52177 #35A521 #21A591
monochromatic
#3F0D2D #721752 #A52177 #D52E9B #DF61B3

Accessibility & contrast

On white

6.81
#A52177 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A52177 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52177
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52177#FFFFFF#000000##FFFFFF
##A521771.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D79
Deuteranopia (green-blind)
#5D6374
Tritanopia (blue-blind)
#B11C4A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52177;
/* rgb */ color: rgb(165, 33, 119);
/* oklch */ color: oklch(49.5% 0.185 346.3);
Tailwind
colors: {
  custom: {
    50: '#c46c9e',
    500: '#a52177',
    950: '#000000',
  },
}
SCSS
$custom: #a52177;
$custom-light: #c46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52177",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 320.909,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49516,
    "c": 0.185,
    "h": 346.3
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52177

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

Preview Lab → · Contrast checker → · Palette generator →

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