#A52287#A52287

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

Color values

HEX#A52287
RGBrgb(165, 34, 135)
HSLhsl(314, 66%, 39%)
HSVhsv(314, 79%, 65%)
CMYKcmyk(0%, 79.4%, 18.2%, 35.3%)
CIE-LABlab(39.40, 60.87, -25.19)
CIE-LCHlch(39.40, 65.88, 337.51°)
OKLaboklab(50.34% 0.1814 -0.0682)
OKLCHoklch(50.34% 0.194 339.4)
XYZxyz(20.4628, 10.8947, 23.9422)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52287 #22A540
analogous
#8222A5 #A52287 #A52246
triadic
#A52287 #87A522 #2287A5
tetradic
#A52287 #A58222 #22A540 #2246A5
square
#A52287 #A58222 #22A540 #2246A5
split-complementary
#A52287 #46A522 #22A582
monochromatic
#400D34 #72185D #A52287 #D430AF #DF63C2

Accessibility & contrast

On white

6.61
#A52287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A52287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52287
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52287#FFFFFF#000000##FFFFFF
##A522871.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#586484
Tritanopia (blue-blind)
#AF2853
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a52287;
/* rgb */ color: rgb(165, 34, 135);
/* oklch */ color: oklch(50.3% 0.194 339.4);
Tailwind
colors: {
  custom: {
    50: '#c46daa',
    500: '#a52287',
    950: '#000000',
  },
}
SCSS
$custom: #a52287;
$custom-light: #c46daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a52287",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 313.74,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50339,
    "c": 0.1938,
    "h": 339.4
  },
  "luminance": 0.10893
}

Semantic roles & 50–950 ramp

primary
#A52287
secondary
#5FC476
accent
#E9663F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A52287

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

Preview Lab → · Contrast checker → · Palette generator →

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