#A52A7F#A52A7F

#A52A7F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.180 H 343.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A52A7F
RGBrgb(165, 42, 127)
HSLhsl(319, 59%, 41%)
HSVhsv(319, 75%, 65%)
CMYKcmyk(0%, 74.5%, 23%, 35.3%)
CIE-LABlab(39.90, 57.33, -19.49)
CIE-LCHlch(39.90, 60.55, 341.22°)
OKLaboklab(50.58% 0.1727 -0.0522)
OKLCHoklch(50.58% 0.18 343.2)
XYZxyz(20.1765, 11.1897, 21.1718)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A7F #2AA550
analogous
#8D2AA5 #A52A7F #A52A41
triadic
#A52A7F #7FA52A #2A7FA5
tetradic
#A52A7F #A58D2A #2AA550 #2A41A5
square
#A52A7F #A58D2A #2AA550 #2A41A5
split-complementary
#A52A7F #41A52A #2AA58D
monochromatic
#431134 #741E59 #A52A7F #CE3EA2 #DA6FB9

Accessibility & contrast

On white

6.49
#A52A7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52A7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A7F
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A7F#FFFFFF#000000##FFFFFF
##A52A7F1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375181
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B02A51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52a7f;
/* rgb */ color: rgb(165, 42, 127);
/* oklch */ color: oklch(50.6% 0.180 343.2);
Tailwind
colors: {
  custom: {
    50: '#c470a4',
    500: '#a52a7f',
    950: '#000000',
  },
}
SCSS
$custom: #a52a7f;
$custom-light: #c470a4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a7f",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 318.537,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50578,
    "c": 0.18042,
    "h": 343.2
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#A52A7F
secondary
#69C185
accent
#E37645
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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