#A52778#A52778

#A52778 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.180 H 346.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A52778
RGBrgb(165, 39, 120)
HSLhsl(321, 62%, 40%)
HSVhsv(321, 76%, 65%)
CMYKcmyk(0%, 76.4%, 27.3%, 35.3%)
CIE-LABlab(39.26, 57.39, -16.13)
CIE-LCHlch(39.26, 59.62, 344.30°)
OKLaboklab(50.02% 0.1744 -0.0428)
OKLCHoklch(50.02% 0.18 346.2)
XYZxyz(19.6336, 10.8086, 18.8180)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52778 #27A554
analogous
#9327A5 #A52778 #A52739
triadic
#A52778 #78A527 #2778A5
tetradic
#A52778 #A59327 #27A554 #2739A5
square
#A52778 #A59327 #27A554 #2739A5
split-complementary
#A52778 #39A527 #27A593
monochromatic
#421030 #741B54 #A52778 #D0399A #DC6AB3

Accessibility & contrast

On white

6.64
#A52778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A52778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52778
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52778#FFFFFF#000000##FFFFFF
##A527781.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384F7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#B1234C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52778;
/* rgb */ color: rgb(165, 39, 120);
/* oklch */ color: oklch(50.0% 0.180 346.2);
Tailwind
colors: {
  custom: {
    50: '#c46e9f',
    500: '#a52778',
    950: '#000000',
  },
}
SCSS
$custom: #a52778;
$custom-light: #c46e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52778",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 321.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50015,
    "c": 0.17954,
    "h": 346.2
  },
  "luminance": 0.10806
}

Semantic roles & 50–950 ramp

primary
#A52778
secondary
#66C287
accent
#E57D43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52778

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

Preview Lab → · Contrast checker → · Palette generator →

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