#A52271#A52271

#A52271 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.3% C 0.181 H 349.1°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A52271
RGBrgb(165, 34, 113)
HSLhsl(324, 66%, 39%)
HSVhsv(324, 79%, 65%)
CMYKcmyk(0%, 79.4%, 31.5%, 35.3%)
CIE-LABlab(38.44, 58.05, -13.00)
CIE-LCHlch(38.44, 59.49, 347.38°)
OKLaboklab(49.33% 0.1775 -0.0341)
OKLCHoklch(49.33% 0.181 349.1)
XYZxyz(19.0708, 10.3379, 16.6107)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52271 #22A556
analogous
#9822A5 #A52271 #A52230
triadic
#A52271 #71A522 #2271A5
tetradic
#A52271 #A59822 #22A556 #2230A5
square
#A52271 #A59822 #22A556 #2230A5
split-complementary
#A52271 #30A522 #22A598
monochromatic
#400D2B #72184E #A52271 #D43093 #DF63AD

Accessibility & contrast

On white

6.85
#A52271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A52271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52271
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52271#FFFFFF#000000##FFFFFF
##A522711.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394C73
Deuteranopia (green-blind)
#5F636E
Tritanopia (blue-blind)
#B11947
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a52271;
/* rgb */ color: rgb(165, 34, 113);
/* oklch */ color: oklch(49.3% 0.181 349.1);
Tailwind
colors: {
  custom: {
    50: '#c46c99',
    500: '#a52271',
    950: '#000000',
  },
}
SCSS
$custom: #a52271;
$custom-light: #c46c99;
$custom-dark: #000000;
JSON
{
  "hex": "#a52271",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 323.817,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49331,
    "c": 0.18078,
    "h": 349.1
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#A52271
secondary
#5FC487
accent
#E9823F
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A52271

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

Preview Lab → · Contrast checker → · Palette generator →

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