#A52789#A52789

#A52789 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.190 H 338.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A52789
RGBrgb(165, 39, 137)
HSLhsl(313, 62%, 40%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 76.4%, 17%, 35.3%)
CIE-LABlab(40.01, 59.67, -25.47)
CIE-LCHlch(40.01, 64.88, 336.88°)
OKLaboklab(50.81% 0.1772 -0.069)
OKLCHoklch(50.81% 0.19 338.7)
XYZxyz(20.7584, 11.2585, 24.7419)
Luminance0.1126 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52789 #27A543
analogous
#8227A5 #A52789 #A5274A
triadic
#A52789 #89A527 #2789A5
tetradic
#A52789 #A58227 #27A543 #274AA5
square
#A52789 #A58227 #27A543 #274AA5
split-complementary
#A52789 #4AA527 #27A582
monochromatic
#421037 #741B60 #A52789 #D039AF #DC6AC3

Accessibility & contrast

On white

6.46
#A52789 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52789 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52789
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52789#FFFFFF#000000##FFFFFF
##A527891.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#AF2D55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52789;
/* rgb */ color: rgb(165, 39, 137);
/* oklch */ color: oklch(50.8% 0.190 338.7);
Tailwind
colors: {
  custom: {
    50: '#c46fab',
    500: '#a52789',
    950: '#000000',
  },
}
SCSS
$custom: #a52789;
$custom-light: #c46fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52789",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 137
  },
  "hsl": {
    "h": 313.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5081,
    "c": 0.19016,
    "h": 338.7
  },
  "luminance": 0.11257
}

Semantic roles & 50–950 ramp

primary
#A52789
secondary
#66C27A
accent
#E56743
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52789

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

Preview Lab → · Contrast checker → · Palette generator →

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