#A5277D#A5277D

#A5277D is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.182 H 343.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A5277D
RGBrgb(165, 39, 125)
HSLhsl(319, 62%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 76.4%, 24.2%, 35.3%)
CIE-LABlab(39.47, 58.04, -18.92)
CIE-LCHlch(39.47, 61.04, 341.95°)
OKLaboklab(50.24% 0.1754 -0.0505)
OKLCHoklch(50.24% 0.182 343.9)
XYZxyz(19.9450, 10.9332, 20.4580)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5277D #27A54F
analogous
#8E27A5 #A5277D #A5273E
triadic
#A5277D #7DA527 #277DA5
tetradic
#A5277D #A58E27 #27A54F #273EA5
square
#A5277D #A58E27 #27A54F #273EA5
split-complementary
#A5277D #3EA527 #27A58E
monochromatic
#421032 #741B57 #A5277D #D039A0 #DC6AB8

Accessibility & contrast

On white

6.59
#A5277D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A5277D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5277D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5277D#FFFFFF#000000##FFFFFF
##A5277D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36507F
Deuteranopia (green-blind)
#5D647A
Tritanopia (blue-blind)
#B0264F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5277d;
/* rgb */ color: rgb(165, 39, 125);
/* oklch */ color: oklch(50.2% 0.182 343.9);
Tailwind
colors: {
  custom: {
    50: '#c46ea2',
    500: '#a5277d',
    950: '#000000',
  },
}
SCSS
$custom: #a5277d;
$custom-light: #c46ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5277d",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 319.048,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.18249,
    "h": 343.9
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#A5277D
secondary
#66C283
accent
#E57643
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5277D

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

Preview Lab → · Contrast checker → · Palette generator →

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