#A52B7D#A52B7D

#A52B7D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.178 H 344.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A52B7D
RGBrgb(165, 43, 125)
HSLhsl(320, 59%, 41%)
HSVhsv(320, 74%, 65%)
CMYKcmyk(0%, 73.9%, 24.2%, 35.3%)
CIE-LABlab(39.93, 56.72, -18.20)
CIE-LCHlch(39.93, 59.57, 342.21°)
OKLaboklab(50.58% 0.1713 -0.0486)
OKLCHoklch(50.58% 0.178 344.2)
XYZxyz(20.0834, 11.2099, 20.5041)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52B7D #2BA553
analogous
#902BA5 #A52B7D #A52B40
triadic
#A52B7D #7DA52B #2B7DA5
tetradic
#A52B7D #A5902B #2BA553 #2B40A5
square
#A52B7D #A5902B #2BA553 #2B40A5
split-complementary
#A52B7D #40A52B #2BA590
monochromatic
#441233 #741E58 #A52B7D #CD409F #DA71B7

Accessibility & contrast

On white

6.48
#A52B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52B7D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52B7D#FFFFFF#000000##FFFFFF
##A52B7D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a52b7d;
/* rgb */ color: rgb(165, 43, 125);
/* oklch */ color: oklch(50.6% 0.178 344.2);
Tailwind
colors: {
  custom: {
    50: '#c470a2',
    500: '#a52b7d',
    950: '#000000',
  },
}
SCSS
$custom: #a52b7d;
$custom-light: #c470a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52b7d",
  "rgb": {
    "r": 165,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 319.672,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50575,
    "c": 0.17806,
    "h": 344.2
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

primary
#A52B7D
secondary
#6BC187
accent
#E27946
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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