#A5278A#A5278A

#A5278A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.191 H 338.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A5278A
RGBrgb(165, 39, 138)
HSLhsl(313, 62%, 40%)
HSVhsv(313, 76%, 65%)
CMYKcmyk(0%, 76.4%, 16.4%, 35.3%)
CIE-LABlab(40.06, 59.82, -26.01)
CIE-LCHlch(40.06, 65.23, 336.50°)
OKLaboklab(50.86% 0.1773 -0.0706)
OKLCHoklch(50.86% 0.191 338.3)
XYZxyz(20.8305, 11.2874, 25.1215)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5278A #27A542
analogous
#8127A5 #A5278A #A5274B
triadic
#A5278A #8AA527 #278AA5
tetradic
#A5278A #A58127 #27A542 #274BA5
square
#A5278A #A58127 #27A542 #274BA5
split-complementary
#A5278A #4BA527 #27A581
monochromatic
#421037 #741B61 #A5278A #D039B0 #DC6AC4

Accessibility & contrast

On white

6.45
#A5278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A5278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5278A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5278A#FFFFFF#000000##FFFFFF
##A5278A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#586587
Tritanopia (blue-blind)
#AE2E56
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5278a;
/* rgb */ color: rgb(165, 39, 138);
/* oklch */ color: oklch(50.9% 0.191 338.3);
Tailwind
colors: {
  custom: {
    50: '#c46fac',
    500: '#a5278a',
    950: '#000000',
  },
}
SCSS
$custom: #a5278a;
$custom-light: #c46fac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5278a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 312.857,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.19083,
    "h": 338.3
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#A5278A
secondary
#66C279
accent
#E56643
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5278A

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

Preview Lab → · Contrast checker → · Palette generator →

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