#A52F79#A52F79

#A52F79 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.171 H 346.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A52F79
RGBrgb(165, 47, 121)
HSLhsl(322, 56%, 42%)
HSVhsv(322, 72%, 65%)
CMYKcmyk(0%, 71.5%, 26.7%, 35.3%)
CIE-LABlab(40.27, 54.78, -15.20)
CIE-LCHlch(40.27, 56.85, 344.49°)
OKLaboklab(50.77% 0.1661 -0.0402)
OKLCHoklch(50.77% 0.171 346.4)
XYZxyz(19.9856, 11.4150, 19.2363)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F79 #2FA55B
analogous
#962FA5 #A52F79 #A52F3E
triadic
#A52F79 #79A52F #2F79A5
tetradic
#A52F79 #A5962F #2FA55B #2F3EA5
square
#A52F79 #A5962F #2FA55B #2F3EA5
split-complementary
#A52F79 #3EA52F #2FA596
monochromatic
#461433 #752156 #A52F79 #CB4799 #D876B4

Accessibility & contrast

On white

6.40
#A52F79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A52F79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F79
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F79#FFFFFF#000000##FFFFFF
##A52F791.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527B
Deuteranopia (green-blind)
#616676
Tritanopia (blue-blind)
#B02C50
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f79;
/* rgb */ color: rgb(165, 47, 121);
/* oklch */ color: oklch(50.8% 0.171 346.4);
Tailwind
colors: {
  custom: {
    50: '#c4729f',
    500: '#a52f79',
    950: '#000000',
  },
}
SCSS
$custom: #a52f79;
$custom-light: #c4729f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f79",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 322.373,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.17089,
    "h": 346.4
  },
  "luminance": 0.11413
}

Semantic roles & 50–950 ramp

primary
#A52F79
secondary
#70C08E
accent
#DF8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52F79

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

Preview Lab → · Contrast checker → · Palette generator →

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