#A52A92#A52A92

#A52A92 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.193 H 335.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A52A92
RGBrgb(165, 42, 146)
HSLhsl(309, 59%, 41%)
HSVhsv(309, 75%, 65%)
CMYKcmyk(0%, 74.5%, 11.5%, 35.3%)
CIE-LABlab(40.79, 60.04, -29.75)
CIE-LCHlch(40.79, 67.00, 333.64°)
OKLaboklab(51.51% 0.1752 -0.0813)
OKLCHoklch(51.51% 0.193 335.1)
XYZxyz(21.5336, 11.7325, 28.3191)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52A92 #2AA53D
analogous
#7A2AA5 #A52A92 #A52A55
triadic
#A52A92 #92A52A #2A92A5
tetradic
#A52A92 #A57A2A #2AA53D #2A55A5
square
#A52A92 #A57A2A #2AA53D #2A55A5
split-complementary
#A52A92 #55A52A #2AA57A
monochromatic
#43113C #741E67 #A52A92 #CE3EB8 #DA6FCA

Accessibility & contrast

On white

6.28
#A52A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A52A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52A92
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52A92#FFFFFF#000000##FFFFFF
##A52A921.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5595
Deuteranopia (green-blind)
#56678F
Tritanopia (blue-blind)
#AD345B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a52a92;
/* rgb */ color: rgb(165, 42, 146);
/* oklch */ color: oklch(51.5% 0.193 335.1);
Tailwind
colors: {
  custom: {
    50: '#c370b2',
    500: '#a52a92',
    950: '#000000',
  },
}
SCSS
$custom: #a52a92;
$custom-light: #c370b2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52a92",
  "rgb": {
    "r": 165,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 309.268,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.19318,
    "h": 335.1
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#A52A92
secondary
#69C177
accent
#E35E45
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52A92

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

Preview Lab → · Contrast checker → · Palette generator →

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