#A5278F#A5278F

#A5278F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.194 H 336.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5278F
RGBrgb(165, 39, 143)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 76%, 65%)
CMYKcmyk(0%, 76.4%, 13.3%, 35.3%)
CIE-LABlab(40.30, 60.54, -28.69)
CIE-LCHlch(40.30, 66.99, 334.65°)
OKLaboklab(51.12% 0.1778 -0.0782)
OKLCHoklch(51.12% 0.194 336.3)
XYZxyz(21.2009, 11.4355, 27.0720)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5278F #27A53D
analogous
#7C27A5 #A5278F #A52750
triadic
#A5278F #8FA527 #278FA5
tetradic
#A5278F #A57C27 #27A53D #2750A5
square
#A5278F #A57C27 #27A53D #2750A5
split-complementary
#A5278F #50A527 #27A57C
monochromatic
#421039 #741B64 #A5278F #D039B6 #DC6AC8

Accessibility & contrast

On white

6.39
#A5278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A5278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5278F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5278F#FFFFFF#000000##FFFFFF
##A5278F1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#56668C
Tritanopia (blue-blind)
#AE3059
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5278f;
/* rgb */ color: rgb(165, 39, 143);
/* oklch */ color: oklch(51.1% 0.194 336.3);
Tailwind
colors: {
  custom: {
    50: '#c36fb0',
    500: '#a5278f',
    950: '#000000',
  },
}
SCSS
$custom: #a5278f;
$custom-light: #c36fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5278f",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 310.476,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.19425,
    "h": 336.3
  },
  "luminance": 0.11434
}

Semantic roles & 50–950 ramp

primary
#A5278F
secondary
#66C276
accent
#E55F43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5278F

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

Preview Lab → · Contrast checker → · Palette generator →

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