#A52F85#A52F85

#A52F85 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.178 H 340.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A52F85
RGBrgb(165, 47, 133)
HSLhsl(316, 56%, 42%)
HSVhsv(316, 72%, 65%)
CMYKcmyk(0%, 71.5%, 19.4%, 35.3%)
CIE-LABlab(40.78, 56.41, -21.83)
CIE-LCHlch(40.78, 60.49, 338.85°)
OKLaboklab(51.31% 0.1685 -0.0588)
OKLCHoklch(51.31% 0.178 340.8)
XYZxyz(20.7678, 11.7278, 23.3557)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F85 #2FA54F
analogous
#8A2FA5 #A52F85 #A52F4A
triadic
#A52F85 #85A52F #2F85A5
tetradic
#A52F85 #A58A2F #2FA54F #2F4AA5
square
#A52F85 #A58A2F #2FA54F #2F4AA5
split-complementary
#A52F85 #4AA52F #2FA58A
monochromatic
#461438 #75215F #A52F85 #CB47A7 #D876BE

Accessibility & contrast

On white

6.28
#A52F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F85
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F85#FFFFFF#000000##FFFFFF
##A52F851.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#5D6782
Tritanopia (blue-blind)
#AF3256
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52f85;
/* rgb */ color: rgb(165, 47, 133);
/* oklch */ color: oklch(51.3% 0.178 340.8);
Tailwind
colors: {
  custom: {
    50: '#c372a8',
    500: '#a52f85',
    950: '#000000',
  },
}
SCSS
$custom: #a52f85;
$custom-light: #c372a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f85",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 316.271,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51306,
    "c": 0.1784,
    "h": 340.8
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#A52F85
secondary
#70C086
accent
#DF7249
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A52F85

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

Preview Lab → · Contrast checker → · Palette generator →

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