#A52296#A52296

#A52296 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.204 H 333.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A52296
RGBrgb(165, 34, 150)
HSLhsl(307, 66%, 39%)
HSVhsv(307, 79%, 65%)
CMYKcmyk(0%, 79.4%, 9.1%, 35.3%)
CIE-LABlab(40.16, 63.03, -33.17)
CIE-LCHlch(40.16, 71.23, 332.24°)
OKLaboklab(51.13% 0.1825 -0.0911)
OKLCHoklch(51.13% 0.204 333.5)
XYZxyz(21.5943, 11.3473, 29.9012)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52296 #22A531
analogous
#7322A5 #A52296 #A52255
triadic
#A52296 #96A522 #2296A5
tetradic
#A52296 #A57322 #22A531 #2255A5
square
#A52296 #A57322 #22A531 #2255A5
split-complementary
#A52296 #55A522 #22A573
monochromatic
#400D3A #721868 #A52296 #D430C1 #DF63D1

Accessibility & contrast

On white

6.42
#A52296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A52296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52296
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52296#FFFFFF#000000##FFFFFF
##A522961.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#516593
Tritanopia (blue-blind)
#AD315B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a52296;
/* rgb */ color: rgb(165, 34, 150);
/* oklch */ color: oklch(51.1% 0.204 333.5);
Tailwind
colors: {
  custom: {
    50: '#c46eb5',
    500: '#a52296',
    950: '#000000',
  },
}
SCSS
$custom: #a52296;
$custom-light: #c46eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#a52296",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 306.87,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.20399,
    "h": 333.5
  },
  "luminance": 0.11345
}

Semantic roles & 50–950 ramp

primary
#A52296
secondary
#5FC46A
accent
#E9523F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52296

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

Preview Lab → · Contrast checker → · Palette generator →

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