#A52278#A52278

#A52278 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.6% C 0.185 H 345.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A52278
RGBrgb(165, 34, 120)
HSLhsl(321, 66%, 39%)
HSVhsv(321, 79%, 65%)
CMYKcmyk(0%, 79.4%, 27.3%, 35.3%)
CIE-LABlab(38.73, 58.90, -16.94)
CIE-LCHlch(38.73, 61.29, 343.95°)
OKLaboklab(49.63% 0.179 -0.045)
OKLCHoklch(49.63% 0.185 345.9)
XYZxyz(19.4802, 10.5017, 18.7668)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52278 #22A54F
analogous
#9122A5 #A52278 #A52236
triadic
#A52278 #78A522 #2278A5
tetradic
#A52278 #A59122 #22A54F #2236A5
square
#A52278 #A59122 #22A54F #2236A5
split-complementary
#A52278 #36A522 #22A591
monochromatic
#400D2E #721853 #A52278 #D4309C #DF63B4

Accessibility & contrast

On white

6.77
#A52278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A52278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52278
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52278#FFFFFF#000000##FFFFFF
##A522781.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7A
Deuteranopia (green-blind)
#5D6375
Tritanopia (blue-blind)
#B11E4B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a52278;
/* rgb */ color: rgb(165, 34, 120);
/* oklch */ color: oklch(49.6% 0.185 345.9);
Tailwind
colors: {
  custom: {
    50: '#c46c9f',
    500: '#a52278',
    950: '#000000',
  },
}
SCSS
$custom: #a52278;
$custom-light: #c46c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52278",
  "rgb": {
    "r": 165,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 320.611,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49632,
    "c": 0.18461,
    "h": 345.9
  },
  "luminance": 0.10499
}

Semantic roles & 50–950 ramp

primary
#A52278
secondary
#5FC482
accent
#E9793F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52278

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

Preview Lab → · Contrast checker → · Palette generator →

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