#A52B7B#A52B7B

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

Color values

HEX#A52B7B
RGBrgb(165, 43, 123)
HSLhsl(321, 59%, 41%)
HSVhsv(321, 74%, 65%)
CMYKcmyk(0%, 73.9%, 25.5%, 35.3%)
CIE-LABlab(39.85, 56.46, -17.09)
CIE-LCHlch(39.85, 58.99, 343.16°)
OKLaboklab(50.49% 0.1709 -0.0455)
OKLCHoklch(50.49% 0.177 345.1)
XYZxyz(19.9569, 11.1593, 19.8380)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B7B #2BA555
analogous
#922BA5 #A52B7B #A52B3E
triadic
#A52B7B #7BA52B #2B7BA5
tetradic
#A52B7B #A5922B #2BA555 #2B3EA5
square
#A52B7B #A5922B #2BA555 #2B3EA5
split-complementary
#A52B7B #3EA52B #2BA592
monochromatic
#441233 #741E57 #A52B7B #CD409D #DA71B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52B7B#FFFFFF#000000##FFFFFF
##A52B7B1.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)
#3A517D
Deuteranopia (green-blind)
#5F6578
Tritanopia (blue-blind)
#B0294F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52b7b;
/* rgb */ color: rgb(165, 43, 123);
/* oklch */ color: oklch(50.5% 0.177 345.1);
Tailwind
colors: {
  custom: {
    50: '#c470a1',
    500: '#a52b7b',
    950: '#000000',
  },
}
SCSS
$custom: #a52b7b;
$custom-light: #c470a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b7b",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 320.656,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50486,
    "c": 0.17685,
    "h": 345.1
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#A52B7B
secondary
#6BC188
accent
#E27C46
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A52B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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