#A52285#A52285

#A52285 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.193 H 340.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A52285
RGBrgb(165, 34, 133)
HSLhsl(315, 66%, 39%)
HSVhsv(315, 79%, 65%)
CMYKcmyk(0%, 79.4%, 19.4%, 35.3%)
CIE-LABlab(39.31, 60.59, -24.11)
CIE-LCHlch(39.31, 65.21, 338.30°)
OKLaboklab(50.24% 0.1812 -0.0651)
OKLCHoklch(50.24% 0.193 340.2)
XYZxyz(20.3233, 10.8389, 23.2076)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52285 #22A542
analogous
#8422A5 #A52285 #A52244
triadic
#A52285 #85A522 #2285A5
tetradic
#A52285 #A58422 #22A542 #2244A5
square
#A52285 #A58422 #22A542 #2244A5
split-complementary
#A52285 #44A522 #22A584
monochromatic
#400D33 #72185C #A52285 #D430AC #DF63C0

Accessibility & contrast

On white

6.63
#A52285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A52285
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52285#FFFFFF#000000##FFFFFF
##A522851.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4F88
Deuteranopia (green-blind)
#586482
Tritanopia (blue-blind)
#AF2752
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52285;
/* rgb */ color: rgb(165, 34, 133);
/* oklch */ color: oklch(50.2% 0.193 340.2);
Tailwind
colors: {
  custom: {
    50: '#c46da8',
    500: '#a52285',
    950: '#000000',
  },
}
SCSS
$custom: #a52285;
$custom-light: #c46da8;
$custom-dark: #000000;
JSON
{
  "hex": "#a52285",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 314.656,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5024,
    "c": 0.19252,
    "h": 340.2
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#A52285
secondary
#5FC478
accent
#E9683F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A52285

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

Preview Lab → · Contrast checker → · Palette generator →

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