#A5278B#A5278B

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

Color values

HEX#A5278B
RGBrgb(165, 39, 139)
HSLhsl(312, 62%, 40%)
HSVhsv(312, 76%, 65%)
CMYKcmyk(0%, 76.4%, 15.8%, 35.3%)
CIE-LABlab(40.11, 59.96, -26.55)
CIE-LCHlch(40.11, 65.57, 336.12°)
OKLaboklab(50.91% 0.1774 -0.0721)
OKLCHoklch(50.91% 0.192 337.9)
XYZxyz(20.9032, 11.3165, 25.5045)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5278B #27A541
analogous
#8027A5 #A5278B #A5274C
triadic
#A5278B #8BA527 #278BA5
tetradic
#A5278B #A58027 #27A541 #274CA5
square
#A5278B #A58027 #27A541 #274CA5
split-complementary
#A5278B #4CA527 #27A580
monochromatic
#421038 #741B61 #A5278B #D039B1 #DC6AC5

Accessibility & contrast

On white

6.44
#A5278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5278B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5278B#FFFFFF#000000##FFFFFF
##A5278B1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528E
Deuteranopia (green-blind)
#586588
Tritanopia (blue-blind)
#AE2E57
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5278b;
/* rgb */ color: rgb(165, 39, 139);
/* oklch */ color: oklch(50.9% 0.192 337.9);
Tailwind
colors: {
  custom: {
    50: '#c46fad',
    500: '#a5278b',
    950: '#000000',
  },
}
SCSS
$custom: #a5278b;
$custom-light: #c46fad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5278b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 312.381,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.1915,
    "h": 337.9
  },
  "luminance": 0.11314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5278B

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

Preview Lab → · Contrast checker → · Palette generator →

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