#A52886#A52886

#A52886 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 340.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A52886
RGBrgb(165, 40, 134)
HSLhsl(315, 61%, 40%)
HSVhsv(315, 76%, 65%)
CMYKcmyk(0%, 75.8%, 18.8%, 35.3%)
CIE-LABlab(39.98, 58.94, -23.68)
CIE-LCHlch(39.98, 63.52, 338.11°)
OKLaboklab(50.74% 0.1758 -0.064)
OKLCHoklch(50.74% 0.187 340)
XYZxyz(20.5795, 11.2402, 23.6354)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52886 #28A547
analogous
#8528A5 #A52886 #A52847
triadic
#A52886 #86A528 #2886A5
tetradic
#A52886 #A58528 #28A547 #2847A5
square
#A52886 #A58528 #28A547 #2847A5
split-complementary
#A52886 #47A528 #28A585
monochromatic
#421036 #741C5E #A52886 #CF3BAB #DB6CC0

Accessibility & contrast

On white

6.47
#A52886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A52886 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52886
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52886#FFFFFF#000000##FFFFFF
##A528861.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315289
Deuteranopia (green-blind)
#5A6583
Tritanopia (blue-blind)
#AF2C54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52886;
/* rgb */ color: rgb(165, 40, 134);
/* oklch */ color: oklch(50.7% 0.187 340.0);
Tailwind
colors: {
  custom: {
    50: '#c46fa9',
    500: '#a52886',
    950: '#000000',
  },
}
SCSS
$custom: #a52886;
$custom-light: #c46fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52886",
  "rgb": {
    "r": 165,
    "g": 40,
    "b": 134
  },
  "hsl": {
    "h": 314.88,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50742,
    "c": 0.18711,
    "h": 340
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#A52886
secondary
#67C27D
accent
#E46B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52886

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

Preview Lab → · Contrast checker → · Palette generator →

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