#A52878#A52878

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

Color values

HEX#A52878
RGBrgb(165, 40, 120)
HSLhsl(322, 61%, 40%)
HSVhsv(322, 76%, 65%)
CMYKcmyk(0%, 75.8%, 27.3%, 35.3%)
CIE-LABlab(39.37, 57.07, -15.96)
CIE-LCHlch(39.37, 59.26, 344.38°)
OKLaboklab(50.1% 0.1734 -0.0423)
OKLCHoklch(50.1% 0.178 346.3)
XYZxyz(19.6669, 10.8752, 18.8291)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52878 #28A555
analogous
#9428A5 #A52878 #A52839
triadic
#A52878 #78A528 #2878A5
tetradic
#A52878 #A59428 #28A555 #2839A5
square
#A52878 #A59428 #28A555 #2839A5
split-complementary
#A52878 #39A528 #28A594
monochromatic
#421030 #741C54 #A52878 #CF3B9A #DB6CB3

Accessibility & contrast

On white

6.62
#A52878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52878
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52878#FFFFFF#000000##FFFFFF
##A528781.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5F6475
Tritanopia (blue-blind)
#B1244D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52878;
/* rgb */ color: rgb(165, 40, 120);
/* oklch */ color: oklch(50.1% 0.178 346.3);
Tailwind
colors: {
  custom: {
    50: '#c46f9f',
    500: '#a52878',
    950: '#000000',
  },
}
SCSS
$custom: #a52878;
$custom-light: #c46f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52878",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 321.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50097,
    "c": 0.17846,
    "h": 346.3
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52878

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

Preview Lab → · Contrast checker → · Palette generator →

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