#A52A7E#A52A7E

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

Color values

HEX#A52A7E
RGBrgb(165, 42, 126)
HSLhsl(319, 59%, 41%)
HSVhsv(319, 75%, 65%)
CMYKcmyk(0%, 74.5%, 23.6%, 35.3%)
CIE-LABlab(39.85, 57.19, -18.94)
CIE-LCHlch(39.85, 60.25, 341.68°)
OKLaboklab(50.53% 0.1725 -0.0506)
OKLCHoklch(50.53% 0.18 343.7)
XYZxyz(20.1117, 11.1637, 20.8303)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A7E #2AA551
analogous
#8E2AA5 #A52A7E #A52A41
triadic
#A52A7E #7EA52A #2A7EA5
tetradic
#A52A7E #A58E2A #2AA551 #2A41A5
square
#A52A7E #A58E2A #2AA551 #2A41A5
split-complementary
#A52A7E #41A52A #2AA58E
monochromatic
#431133 #741E59 #A52A7E #CE3EA0 #DA6FB8

Accessibility & contrast

On white

6.50
#A52A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A52A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A7E
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A7E#FFFFFF#000000##FFFFFF
##A52A7E1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385180
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B02A50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52a7e;
/* rgb */ color: rgb(165, 42, 126);
/* oklch */ color: oklch(50.5% 0.180 343.7);
Tailwind
colors: {
  custom: {
    50: '#c470a3',
    500: '#a52a7e',
    950: '#000000',
  },
}
SCSS
$custom: #a52a7e;
$custom-light: #c470a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a7e",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 319.024,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.17981,
    "h": 343.7
  },
  "luminance": 0.11162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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