#A52292#A52292

#A52292 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.201 H 335.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A52292
RGBrgb(165, 34, 146)
HSLhsl(309, 66%, 39%)
HSVhsv(309, 79%, 65%)
CMYKcmyk(0%, 79.4%, 11.5%, 35.3%)
CIE-LABlab(39.95, 62.44, -31.07)
CIE-LCHlch(39.95, 69.74, 333.54°)
OKLaboklab(50.91% 0.1824 -0.085)
OKLCHoklch(50.91% 0.201 335)
XYZxyz(21.2777, 11.2207, 28.2337)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52292 #22A535
analogous
#7722A5 #A52292 #A52251
triadic
#A52292 #92A522 #2292A5
tetradic
#A52292 #A57722 #22A535 #2251A5
square
#A52292 #A57722 #22A535 #2251A5
split-complementary
#A52292 #51A522 #22A577
monochromatic
#400D38 #721865 #A52292 #D430BC #DF63CD

Accessibility & contrast

On white

6.47
#A52292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A52292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52292
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52292#FFFFFF#000000##FFFFFF
##A522921.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#AD2E59
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a52292;
/* rgb */ color: rgb(165, 34, 146);
/* oklch */ color: oklch(50.9% 0.201 335.0);
Tailwind
colors: {
  custom: {
    50: '#c46db2',
    500: '#a52292',
    950: '#000000',
  },
}
SCSS
$custom: #a52292;
$custom-light: #c46db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a52292",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 308.702,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.2012,
    "h": 335
  },
  "luminance": 0.11219
}

Semantic roles & 50–950 ramp

primary
#A52292
secondary
#5FC46E
accent
#E9583F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A52292

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

Preview Lab → · Contrast checker → · Palette generator →

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