#A52189#A52189

#A52189 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.4% C 0.196 H 338.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A52189
RGBrgb(165, 33, 137)
HSLhsl(313, 67%, 39%)
HSVhsv(313, 80%, 65%)
CMYKcmyk(0%, 80%, 17%, 35.3%)
CIE-LABlab(39.40, 61.42, -26.42)
CIE-LCHlch(39.40, 66.86, 336.72°)
OKLaboklab(50.37% 0.1825 -0.0717)
OKLCHoklch(50.37% 0.196 338.5)
XYZxyz(20.5768, 10.8952, 24.6814)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52189 #21A53D
analogous
#7F21A5 #A52189 #A52147
triadic
#A52189 #89A521 #2189A5
tetradic
#A52189 #A57F21 #21A53D #2147A5
square
#A52189 #A57F21 #21A53D #2147A5
split-complementary
#A52189 #47A521 #21A57F
monochromatic
#3F0D34 #72175F #A52189 #D52EB2 #DF61C5

Accessibility & contrast

On white

6.61
#A52189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A52189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52189
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52189#FFFFFF#000000##FFFFFF
##A521891.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#576486
Tritanopia (blue-blind)
#AF2854
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52189;
/* rgb */ color: rgb(165, 33, 137);
/* oklch */ color: oklch(50.4% 0.196 338.5);
Tailwind
colors: {
  custom: {
    50: '#c46dab',
    500: '#a52189',
    950: '#000000',
  },
}
SCSS
$custom: #a52189;
$custom-light: #c46dab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52189",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 312.727,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.19604,
    "h": 338.5
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#A52189
secondary
#5EC473
accent
#EA633E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52189

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

Preview Lab → · Contrast checker → · Palette generator →

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