#A5277A#A5277A

#A5277A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 345.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A5277A
RGBrgb(165, 39, 122)
HSLhsl(320, 62%, 40%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 76.4%, 26.1%, 35.3%)
CIE-LABlab(39.34, 57.65, -17.25)
CIE-LCHlch(39.34, 60.17, 343.34°)
OKLaboklab(50.1% 0.1748 -0.0459)
OKLCHoklch(50.1% 0.181 345.3)
XYZxyz(19.7563, 10.8577, 19.4639)
Luminance0.1086 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5277A #27A552
analogous
#9127A5 #A5277A #A5273B
triadic
#A5277A #7AA527 #277AA5
tetradic
#A5277A #A59127 #27A552 #273BA5
square
#A5277A #A59127 #27A552 #273BA5
split-complementary
#A5277A #3BA527 #27A591
monochromatic
#421031 #741B55 #A5277A #D0399D #DC6AB5

Accessibility & contrast

On white

6.62
#A5277A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A5277A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5277A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5277A#FFFFFF#000000##FFFFFF
##A5277A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#B0254D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5277a;
/* rgb */ color: rgb(165, 39, 122);
/* oklch */ color: oklch(50.1% 0.181 345.3);
Tailwind
colors: {
  custom: {
    50: '#c46ea0',
    500: '#a5277a',
    950: '#000000',
  },
}
SCSS
$custom: #a5277a;
$custom-light: #c46ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5277a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 320.476,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50103,
    "c": 0.1807,
    "h": 345.3
  },
  "luminance": 0.10856
}

Semantic roles & 50–950 ramp

primary
#A5277A
secondary
#66C285
accent
#E57A43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A5277A

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

Preview Lab → · Contrast checker → · Palette generator →

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