#A52B7C#A52B7C

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

Color values

HEX#A52B7C
RGBrgb(165, 43, 124)
HSLhsl(320, 59%, 41%)
HSVhsv(320, 74%, 65%)
CMYKcmyk(0%, 73.9%, 24.8%, 35.3%)
CIE-LABlab(39.89, 56.59, -17.65)
CIE-LCHlch(39.89, 59.28, 342.68°)
OKLaboklab(50.53% 0.1711 -0.047)
OKLCHoklch(50.53% 0.177 344.6)
XYZxyz(20.0198, 11.1844, 20.1694)
Luminance0.1118 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B7C #2BA554
analogous
#912BA5 #A52B7C #A52B3F
triadic
#A52B7C #7CA52B #2B7CA5
tetradic
#A52B7C #A5912B #2BA554 #2B3FA5
square
#A52B7C #A5912B #2BA554 #2B3FA5
split-complementary
#A52B7C #3FA52B #2BA591
monochromatic
#441233 #741E58 #A52B7C #CD409E #DA71B6

Accessibility & contrast

On white

6.49
#A52B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52B7C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B7C#FFFFFF#000000##FFFFFF
##A52B7C1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B02A50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52b7c;
/* rgb */ color: rgb(165, 43, 124);
/* oklch */ color: oklch(50.5% 0.177 344.6);
Tailwind
colors: {
  custom: {
    50: '#c470a2',
    500: '#a52b7c',
    950: '#000000',
  },
}
SCSS
$custom: #a52b7c;
$custom-light: #c470a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b7c",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 124
  },
  "hsl": {
    "h": 320.164,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5053,
    "c": 0.17745,
    "h": 344.6
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A52B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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