#A52277#A52277

#A52277 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.184 H 346.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A52277
RGBrgb(165, 34, 119)
HSLhsl(321, 66%, 39%)
HSVhsv(321, 79%, 65%)
CMYKcmyk(0%, 79.4%, 27.9%, 35.3%)
CIE-LABlab(38.69, 58.77, -16.38)
CIE-LCHlch(38.69, 61.02, 344.42°)
OKLaboklab(49.59% 0.1789 -0.0434)
OKLCHoklch(49.59% 0.184 346.4)
XYZxyz(19.4198, 10.4775, 18.4489)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52277 #22A550
analogous
#9222A5 #A52277 #A52235
triadic
#A52277 #77A522 #2277A5
tetradic
#A52277 #A59222 #22A550 #2235A5
square
#A52277 #A59222 #22A550 #2235A5
split-complementary
#A52277 #35A522 #22A592
monochromatic
#400D2E #721852 #A52277 #D4309B #DF63B3

Accessibility & contrast

On white

6.79
#A52277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A52277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52277
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52277#FFFFFF#000000##FFFFFF
##A522771.006.793.106.79
#FFFFFF6.791.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52277;
/* rgb */ color: rgb(165, 34, 119);
/* oklch */ color: oklch(49.6% 0.184 346.4);
Tailwind
colors: {
  custom: {
    50: '#c46c9e',
    500: '#a52277',
    950: '#000000',
  },
}
SCSS
$custom: #a52277;
$custom-light: #c46c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52277",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 321.069,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.18405,
    "h": 346.4
  },
  "luminance": 0.10475
}

Semantic roles & 50–950 ramp

primary
#A52277
secondary
#5FC482
accent
#E97B3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A52277

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

Preview Lab → · Contrast checker → · Palette generator →

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