#A5277F#A5277F

#A5277F is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.184 H 343.0°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A5277F
RGBrgb(165, 39, 127)
HSLhsl(318, 62%, 40%)
HSVhsv(318, 76%, 65%)
CMYKcmyk(0%, 76.4%, 23%, 35.3%)
CIE-LABlab(39.55, 58.30, -20.02)
CIE-LCHlch(39.55, 61.64, 341.05°)
OKLaboklab(50.33% 0.1757 -0.0536)
OKLCHoklch(50.33% 0.184 343)
XYZxyz(20.0741, 10.9848, 21.1377)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5277F #27A54D
analogous
#8C27A5 #A5277F #A52740
triadic
#A5277F #7FA527 #277FA5
tetradic
#A5277F #A58C27 #27A54D #2740A5
square
#A5277F #A58C27 #27A54D #2740A5
split-complementary
#A5277F #40A527 #27A58C
monochromatic
#421033 #741B59 #A5277F #D039A3 #DC6ABA

Accessibility & contrast

On white

6.57
#A5277F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5277F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5277F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5277F#FFFFFF#000000##FFFFFF
##A5277F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355081
Deuteranopia (green-blind)
#5C657C
Tritanopia (blue-blind)
#B02750
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5277f;
/* rgb */ color: rgb(165, 39, 127);
/* oklch */ color: oklch(50.3% 0.184 343.0);
Tailwind
colors: {
  custom: {
    50: '#c46ea4',
    500: '#a5277f',
    950: '#000000',
  },
}
SCSS
$custom: #a5277f;
$custom-light: #c46ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5277f",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 127
  },
  "hsl": {
    "h": 318.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.18372,
    "h": 343
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#A5277F
secondary
#66C282
accent
#E57443
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5277F

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

Preview Lab → · Contrast checker → · Palette generator →

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