#A52879#A52879

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

Color values

HEX#A52879
RGBrgb(165, 40, 121)
HSLhsl(321, 61%, 40%)
HSVhsv(321, 76%, 65%)
CMYKcmyk(0%, 75.8%, 26.7%, 35.3%)
CIE-LABlab(39.41, 57.20, -16.52)
CIE-LCHlch(39.41, 59.54, 343.89°)
OKLaboklab(50.14% 0.1736 -0.0438)
OKLCHoklch(50.14% 0.179 345.8)
XYZxyz(19.7279, 10.8996, 19.1503)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52879 #28A554
analogous
#9228A5 #A52879 #A5283A
triadic
#A52879 #79A528 #2879A5
tetradic
#A52879 #A59228 #28A554 #283AA5
square
#A52879 #A59228 #28A554 #283AA5
split-complementary
#A52879 #3AA528 #28A592
monochromatic
#421031 #741C55 #A52879 #CF3B9B #DB6CB4

Accessibility & contrast

On white

6.61
#A52879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A52879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52879
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52879#FFFFFF#000000##FFFFFF
##A528791.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#5E6476
Tritanopia (blue-blind)
#B0254D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52879;
/* rgb */ color: rgb(165, 40, 121);
/* oklch */ color: oklch(50.1% 0.179 345.8);
Tailwind
colors: {
  custom: {
    50: '#c46f9f',
    500: '#a52879',
    950: '#000000',
  },
}
SCSS
$custom: #a52879;
$custom-light: #c46f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52879",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 121
  },
  "hsl": {
    "h": 321.12,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50141,
    "c": 0.17904,
    "h": 345.8
  },
  "luminance": 0.10897
}

Semantic roles & 50–950 ramp

primary
#A52879
secondary
#67C287
accent
#E47C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52879

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

Preview Lab → · Contrast checker → · Palette generator →

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