#A5277B#A5277B

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

Color values

HEX#A5277B
RGBrgb(165, 39, 123)
HSLhsl(320, 62%, 40%)
HSVhsv(320, 76%, 65%)
CMYKcmyk(0%, 76.4%, 25.5%, 35.3%)
CIE-LABlab(39.38, 57.78, -17.81)
CIE-LCHlch(39.38, 60.46, 342.87°)
OKLaboklab(50.15% 0.175 -0.0474)
OKLCHoklch(50.15% 0.181 344.8)
XYZxyz(19.8186, 10.8826, 19.7919)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5277B #27A551
analogous
#9027A5 #A5277B #A5273C
triadic
#A5277B #7BA527 #277BA5
tetradic
#A5277B #A59027 #27A551 #273CA5
square
#A5277B #A59027 #27A551 #273CA5
split-complementary
#A5277B #3CA527 #27A590
monochromatic
#421031 #741B56 #A5277B #D0399E #DC6AB6

Accessibility & contrast

On white

6.61
#A5277B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A5277B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5277B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5277B#FFFFFF#000000##FFFFFF
##A5277B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7D
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#B0254E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5277b;
/* rgb */ color: rgb(165, 39, 123);
/* oklch */ color: oklch(50.1% 0.181 344.8);
Tailwind
colors: {
  custom: {
    50: '#c46ea1',
    500: '#a5277b',
    950: '#000000',
  },
}
SCSS
$custom: #a5277b;
$custom-light: #c46ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5277b",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 320,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50147,
    "c": 0.18129,
    "h": 344.8
  },
  "luminance": 0.1088
}

Semantic roles & 50–950 ramp

primary
#A5277B
secondary
#66C284
accent
#E57943
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A5277B

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

Preview Lab → · Contrast checker → · Palette generator →

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