#A52871#A52871

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

Color values

HEX#A52871
RGBrgb(165, 40, 113)
HSLhsl(325, 61%, 40%)
HSVhsv(325, 76%, 65%)
CMYKcmyk(0%, 75.8%, 31.5%, 35.3%)
CIE-LABlab(39.09, 56.21, -12.02)
CIE-LCHlch(39.09, 57.48, 347.93°)
OKLaboklab(49.8% 0.1718 -0.0314)
OKLCHoklch(49.8% 0.175 349.6)
XYZxyz(19.2575, 10.7114, 16.6730)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52871 #28A55C
analogous
#9B28A5 #A52871 #A52832
triadic
#A52871 #71A528 #2871A5
tetradic
#A52871 #A59B28 #28A55C #2832A5
square
#A52871 #A59B28 #28A55C #2832A5
split-complementary
#A52871 #32A528 #28A59B
monochromatic
#42102E #741C4F #A52871 #CF3B92 #DB6CAD

Accessibility & contrast

On white

6.68
#A52871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A52871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52871
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52871#FFFFFF#000000##FFFFFF
##A528711.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#61646E
Tritanopia (blue-blind)
#B12049
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52871;
/* rgb */ color: rgb(165, 40, 113);
/* oklch */ color: oklch(49.8% 0.175 349.6);
Tailwind
colors: {
  custom: {
    50: '#c46e99',
    500: '#a52871',
    950: '#000000',
  },
}
SCSS
$custom: #a52871;
$custom-light: #c46e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a52871",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 324.96,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.17461,
    "h": 349.6
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#A52871
secondary
#67C28D
accent
#E48644
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52871

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

Preview Lab → · Contrast checker → · Palette generator →

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