#A52877#A52877

#A52877 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.178 H 346.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A52877
RGBrgb(165, 40, 119)
HSLhsl(322, 61%, 40%)
HSVhsv(322, 76%, 65%)
CMYKcmyk(0%, 75.8%, 27.9%, 35.3%)
CIE-LABlab(39.33, 56.95, -15.40)
CIE-LCHlch(39.33, 58.99, 344.87°)
OKLaboklab(50.05% 0.1732 -0.0407)
OKLCHoklch(50.05% 0.178 346.8)
XYZxyz(19.6065, 10.8510, 18.5111)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52877 #28A556
analogous
#9528A5 #A52877 #A52838
triadic
#A52877 #77A528 #2877A5
tetradic
#A52877 #A59528 #28A556 #2838A5
square
#A52877 #A59528 #28A556 #2838A5
split-complementary
#A52877 #38A528 #28A595
monochromatic
#421030 #741C53 #A52877 #CF3B99 #DB6CB2

Accessibility & contrast

On white

6.63
#A52877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A52877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52877
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52877#FFFFFF#000000##FFFFFF
##A528771.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4F79
Deuteranopia (green-blind)
#5F6474
Tritanopia (blue-blind)
#B1244C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52877;
/* rgb */ color: rgb(165, 40, 119);
/* oklch */ color: oklch(50.1% 0.178 346.8);
Tailwind
colors: {
  custom: {
    50: '#c46f9e',
    500: '#a52877',
    950: '#000000',
  },
}
SCSS
$custom: #a52877;
$custom-light: #c46f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a52877",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 322.08,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50054,
    "c": 0.17789,
    "h": 346.8
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

primary
#A52877
secondary
#67C288
accent
#E47F44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52877

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

Preview Lab → · Contrast checker → · Palette generator →

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