#A52872#A52872

#A52872 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.175 H 349.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A52872
RGBrgb(165, 40, 114)
HSLhsl(324, 61%, 40%)
HSVhsv(324, 76%, 65%)
CMYKcmyk(0%, 75.8%, 30.9%, 35.3%)
CIE-LABlab(39.13, 56.33, -12.58)
CIE-LCHlch(39.13, 57.72, 347.41°)
OKLaboklab(49.84% 0.172 -0.033)
OKLCHoklch(49.84% 0.175 349.2)
XYZxyz(19.3141, 10.7340, 16.9711)
Luminance0.1073 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52872 #28A55B
analogous
#9A28A5 #A52872 #A52833
triadic
#A52872 #72A528 #2872A5
tetradic
#A52872 #A59A28 #28A55B #2833A5
square
#A52872 #A59A28 #28A55B #2833A5
split-complementary
#A52872 #33A528 #28A59A
monochromatic
#42102E #741C50 #A52872 #CF3B93 #DB6CAE

Accessibility & contrast

On white

6.67
#A52872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A52872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52872
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52872#FFFFFF#000000##FFFFFF
##A528721.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E74
Deuteranopia (green-blind)
#60646F
Tritanopia (blue-blind)
#B1214A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52872;
/* rgb */ color: rgb(165, 40, 114);
/* oklch */ color: oklch(49.8% 0.175 349.2);
Tailwind
colors: {
  custom: {
    50: '#c46e9a',
    500: '#a52872',
    950: '#000000',
  },
}
SCSS
$custom: #a52872;
$custom-light: #c46e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a52872",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 324.48,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49843,
    "c": 0.17514,
    "h": 349.2
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#A52872
secondary
#67C28C
accent
#E48544
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52872

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

Preview Lab → · Contrast checker → · Palette generator →

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