#A5278D#A5278D

#A5278D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 337.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A5278D
RGBrgb(165, 39, 141)
HSLhsl(311, 62%, 40%)
HSVhsv(311, 76%, 65%)
CMYKcmyk(0%, 76.4%, 14.5%, 35.3%)
CIE-LABlab(40.21, 60.25, -27.62)
CIE-LCHlch(40.21, 66.28, 335.37°)
OKLaboklab(51.01% 0.1776 -0.0752)
OKLCHoklch(51.01% 0.193 337.1)
XYZxyz(21.0507, 11.3754, 26.2812)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5278D #27A53F
analogous
#7E27A5 #A5278D #A5274E
triadic
#A5278D #8DA527 #278DA5
tetradic
#A5278D #A57E27 #27A53F #274EA5
square
#A5278D #A57E27 #27A53F #274EA5
split-complementary
#A5278D #4EA527 #27A57E
monochromatic
#421038 #741B63 #A5278D #D039B3 #DC6AC6

Accessibility & contrast

On white

6.41
#A5278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A5278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5278D
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5278D#FFFFFF#000000##FFFFFF
##A5278D1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#AE2F58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5278d;
/* rgb */ color: rgb(165, 39, 141);
/* oklch */ color: oklch(51.0% 0.193 337.1);
Tailwind
colors: {
  custom: {
    50: '#c46fae',
    500: '#a5278d',
    950: '#000000',
  },
}
SCSS
$custom: #a5278d;
$custom-light: #c46fae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5278d",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 311.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51012,
    "c": 0.19287,
    "h": 337.1
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#A5278D
secondary
#66C277
accent
#E56243
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5278D

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

Preview Lab → · Contrast checker → · Palette generator →

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