#A52678#A52678

#A52678 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.181 H 346.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A52678
RGBrgb(165, 38, 120)
HSLhsl(321, 63%, 40%)
HSVhsv(321, 77%, 65%)
CMYKcmyk(0%, 77%, 27.3%, 35.3%)
CIE-LABlab(39.15, 57.71, -16.30)
CIE-LCHlch(39.15, 59.97, 344.22°)
OKLaboklab(49.94% 0.1754 -0.0432)
OKLCHoklch(49.94% 0.181 346.2)
XYZxyz(19.6012, 10.7438, 18.8072)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A52678 #26A553
analogous
#9326A5 #A52678 #A52638
triadic
#A52678 #78A526 #2678A5
tetradic
#A52678 #A59326 #26A553 #2638A5
square
#A52678 #A59326 #26A553 #2638A5
split-complementary
#A52678 #38A526 #26A593
monochromatic
#420F30 #731B54 #A52678 #D1379B #DC69B4

Accessibility & contrast

On white

6.67
#A52678 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A52678 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A52678
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A52678#FFFFFF#000000##FFFFFF
##A526781.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#B1224C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a52678;
/* rgb */ color: rgb(165, 38, 120);
/* oklch */ color: oklch(49.9% 0.181 346.2);
Tailwind
colors: {
  custom: {
    50: '#c46e9f',
    500: '#a52678',
    950: '#000000',
  },
}
SCSS
$custom: #a52678;
$custom-light: #c46e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a52678",
  "rgb": {
    "r": 165,
    "g": 38,
    "b": 120
  },
  "hsl": {
    "h": 321.26,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49935,
    "c": 0.1806,
    "h": 346.2
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#A52678
secondary
#64C386
accent
#E67C42
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A52678

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

Preview Lab → · Contrast checker → · Palette generator →

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