#A52174#A52174

#A52174 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.183 H 347.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A52174
RGBrgb(165, 33, 116)
HSLhsl(322, 67%, 39%)
HSVhsv(322, 80%, 65%)
CMYKcmyk(0%, 80%, 29.7%, 35.3%)
CIE-LABlab(38.46, 58.69, -14.85)
CIE-LCHlch(38.46, 60.54, 345.80°)
OKLaboklab(49.39% 0.1791 -0.0392)
OKLCHoklch(49.39% 0.183 347.7)
XYZxyz(19.2143, 10.3502, 17.5055)
Luminance0.1035 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52174 #21A552
analogous
#9421A5 #A52174 #A52132
triadic
#A52174 #74A521 #2174A5
tetradic
#A52174 #A59421 #21A552 #2132A5
square
#A52174 #A59421 #21A552 #2132A5
split-complementary
#A52174 #32A521 #21A594
monochromatic
#3F0D2C #721750 #A52174 #D52E97 #DF61B0

Accessibility & contrast

On white

6.84
#A52174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A52174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52174
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52174#FFFFFF#000000##FFFFFF
##A521741.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364C76
Deuteranopia (green-blind)
#5E6371
Tritanopia (blue-blind)
#B11A48
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52174;
/* rgb */ color: rgb(165, 33, 116);
/* oklch */ color: oklch(49.4% 0.183 347.7);
Tailwind
colors: {
  custom: {
    50: '#c46c9c',
    500: '#a52174',
    950: '#000000',
  },
}
SCSS
$custom: #a52174;
$custom-light: #c46c9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a52174",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 322.273,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49386,
    "c": 0.18333,
    "h": 347.7
  },
  "luminance": 0.10348
}

Semantic roles & 50–950 ramp

primary
#A52174
secondary
#5EC484
accent
#EA7E3E
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A52174

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

Preview Lab → · Contrast checker → · Palette generator →

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