#A52286#A52286

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

Color values

HEX#A52286
RGBrgb(165, 34, 134)
HSLhsl(314, 66%, 39%)
HSVhsv(314, 79%, 65%)
CMYKcmyk(0%, 79.4%, 18.8%, 35.3%)
CIE-LABlab(39.35, 60.73, -24.65)
CIE-LCHlch(39.35, 65.54, 337.91°)
OKLaboklab(50.29% 0.1813 -0.0667)
OKLCHoklch(50.29% 0.193 339.8)
XYZxyz(20.3927, 10.8667, 23.5731)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52286 #22A541
analogous
#8322A5 #A52286 #A52245
triadic
#A52286 #86A522 #2286A5
tetradic
#A52286 #A58322 #22A541 #2245A5
square
#A52286 #A58322 #22A541 #2245A5
split-complementary
#A52286 #45A522 #22A583
monochromatic
#400D34 #72185D #A52286 #D430AD #DF63C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A52286#FFFFFF#000000##FFFFFF
##A522861.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)
#2C5089
Deuteranopia (green-blind)
#586483
Tritanopia (blue-blind)
#AF2752
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52286;
/* rgb */ color: rgb(165, 34, 134);
/* oklch */ color: oklch(50.3% 0.193 339.8);
Tailwind
colors: {
  custom: {
    50: '#c46da9',
    500: '#a52286',
    950: '#000000',
  },
}
SCSS
$custom: #a52286;
$custom-light: #c46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#a52286",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 314.198,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50289,
    "c": 0.19315,
    "h": 339.8
  },
  "luminance": 0.10865
}

Semantic roles & 50–950 ramp

primary
#A52286
secondary
#5FC477
accent
#E9673F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52286

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

Preview Lab → · Contrast checker → · Palette generator →

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