#A52295#A52295

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

Color values

HEX#A52295
RGBrgb(165, 34, 149)
HSLhsl(307, 66%, 39%)
HSVhsv(307, 79%, 65%)
CMYKcmyk(0%, 79.4%, 9.7%, 35.3%)
CIE-LABlab(40.11, 62.88, -32.65)
CIE-LCHlch(40.11, 70.85, 332.56°)
OKLaboklab(51.07% 0.1825 -0.0896)
OKLCHoklch(51.07% 0.203 333.9)
XYZxyz(21.5141, 11.3152, 29.4789)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52295 #22A532
analogous
#7422A5 #A52295 #A52254
triadic
#A52295 #95A522 #2295A5
tetradic
#A52295 #A57422 #22A532 #2254A5
square
#A52295 #A57422 #22A532 #2254A5
split-complementary
#A52295 #54A522 #22A574
monochromatic
#400D39 #721867 #A52295 #D430C0 #DF63D0

Accessibility & contrast

On white

6.44
#A52295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A52295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52295
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52295#FFFFFF#000000##FFFFFF
##A522951.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5398
Deuteranopia (green-blind)
#526592
Tritanopia (blue-blind)
#AD305B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52295;
/* rgb */ color: rgb(165, 34, 149);
/* oklch */ color: oklch(51.1% 0.203 333.9);
Tailwind
colors: {
  custom: {
    50: '#c46db4',
    500: '#a52295',
    950: '#000000',
  },
}
SCSS
$custom: #a52295;
$custom-light: #c46db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a52295",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 307.328,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.2033,
    "h": 333.9
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#A52295
secondary
#5FC46B
accent
#E9543F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52295

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

Preview Lab → · Contrast checker → · Palette generator →

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