#A52188#A52188

#A52188 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.3% C 0.195 H 339.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A52188
RGBrgb(165, 33, 136)
HSLhsl(313, 67%, 39%)
HSVhsv(313, 80%, 65%)
CMYKcmyk(0%, 80%, 17.6%, 35.3%)
CIE-LABlab(39.35, 61.28, -25.88)
CIE-LCHlch(39.35, 66.52, 337.10°)
OKLaboklab(50.32% 0.1824 -0.0702)
OKLCHoklch(50.32% 0.195 339)
XYZxyz(20.5054, 10.8667, 24.3053)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52188 #21A53E
analogous
#8021A5 #A52188 #A52146
triadic
#A52188 #88A521 #2188A5
tetradic
#A52188 #A58021 #21A53E #2146A5
square
#A52188 #A58021 #21A53E #2146A5
split-complementary
#A52188 #46A521 #21A580
monochromatic
#3F0D34 #72175E #A52188 #D52EB0 #DF61C4

Accessibility & contrast

On white

6.62
#A52188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A52188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52188
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52188#FFFFFF#000000##FFFFFF
##A521881.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A508B
Deuteranopia (green-blind)
#576485
Tritanopia (blue-blind)
#AF2853
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52188;
/* rgb */ color: rgb(165, 33, 136);
/* oklch */ color: oklch(50.3% 0.195 339.0);
Tailwind
colors: {
  custom: {
    50: '#c46dab',
    500: '#a52188',
    950: '#000000',
  },
}
SCSS
$custom: #a52188;
$custom-light: #c46dab;
$custom-dark: #000000;
JSON
{
  "hex": "#a52188",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 313.182,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5032,
    "c": 0.19539,
    "h": 339
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#A52188
secondary
#5EC474
accent
#EA643E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52188

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

Preview Lab → · Contrast checker → · Palette generator →

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