#A52F7B#A52F7B

#A52F7B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.172 H 345.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A52F7B
RGBrgb(165, 47, 123)
HSLhsl(321, 56%, 42%)
HSVhsv(321, 72%, 65%)
CMYKcmyk(0%, 71.5%, 25.5%, 35.3%)
CIE-LABlab(40.35, 55.04, -16.32)
CIE-LCHlch(40.35, 57.41, 343.48°)
OKLaboklab(50.85% 0.1665 -0.0433)
OKLCHoklch(50.85% 0.172 345.4)
XYZxyz(20.1095, 11.4645, 19.8889)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52F7B #2FA559
analogous
#942FA5 #A52F7B #A52F40
triadic
#A52F7B #7BA52F #2F7BA5
tetradic
#A52F7B #A5942F #2FA559 #2F40A5
square
#A52F7B #A5942F #2FA559 #2F40A5
split-complementary
#A52F7B #40A52F #2FA594
monochromatic
#461434 #752157 #A52F7B #CB479C #D876B5

Accessibility & contrast

On white

6.38
#A52F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A52F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52F7B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52F7B#FFFFFF#000000##FFFFFF
##A52F7B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D527D
Deuteranopia (green-blind)
#606678
Tritanopia (blue-blind)
#B02D51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52f7b;
/* rgb */ color: rgb(165, 47, 123);
/* oklch */ color: oklch(50.9% 0.172 345.4);
Tailwind
colors: {
  custom: {
    50: '#c372a1',
    500: '#a52f7b',
    950: '#000000',
  },
}
SCSS
$custom: #a52f7b;
$custom-light: #c372a1;
$custom-dark: #000000;
JSON
{
  "hex": "#a52f7b",
  "rgb": {
    "r": 165,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 321.356,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.17207,
    "h": 345.4
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#A52F7B
secondary
#70C08C
accent
#DF7E49
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A52F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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