#A52A85#A52A85

#A52A85 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.184 H 340.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A52A85
RGBrgb(165, 42, 133)
HSLhsl(316, 59%, 41%)
HSVhsv(316, 75%, 65%)
CMYKcmyk(0%, 74.5%, 19.4%, 35.3%)
CIE-LABlab(40.17, 58.15, -22.78)
CIE-LCHlch(40.17, 62.45, 338.61°)
OKLaboklab(50.86% 0.1737 -0.0614)
OKLCHoklch(50.86% 0.184 340.5)
XYZxyz(20.5793, 11.3508, 23.2929)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A85 #2AA54A
analogous
#872AA5 #A52A85 #A52A47
triadic
#A52A85 #85A52A #2A85A5
tetradic
#A52A85 #A5872A #2AA54A #2A47A5
square
#A52A85 #A5872A #2AA54A #2A47A5
split-complementary
#A52A85 #47A52A #2AA587
monochromatic
#431136 #741E5E #A52A85 #CE3EA9 #DA6FBE

Accessibility & contrast

On white

6.42
#A52A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A85
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A85#FFFFFF#000000##FFFFFF
##A52A851.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335287
Deuteranopia (green-blind)
#5B6682
Tritanopia (blue-blind)
#AF2D54
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52a85;
/* rgb */ color: rgb(165, 42, 133);
/* oklch */ color: oklch(50.9% 0.184 340.5);
Tailwind
colors: {
  custom: {
    50: '#c370a8',
    500: '#a52a85',
    950: '#000000',
  },
}
SCSS
$custom: #a52a85;
$custom-light: #c370a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a85",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 315.61,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.18426,
    "h": 340.5
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#A52A85
secondary
#69C180
accent
#E36E45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52A85

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

Preview Lab → · Contrast checker → · Palette generator →

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