#A5277E#A5277E

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

Color values

HEX#A5277E
RGBrgb(165, 39, 126)
HSLhsl(319, 62%, 40%)
HSVhsv(319, 76%, 65%)
CMYKcmyk(0%, 76.4%, 23.6%, 35.3%)
CIE-LABlab(39.51, 58.17, -19.47)
CIE-LCHlch(39.51, 61.34, 341.49°)
OKLaboklab(50.28% 0.1755 -0.0521)
OKLCHoklch(50.28% 0.183 343.5)
XYZxyz(20.0092, 10.9589, 20.7961)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5277E #27A54E
analogous
#8D27A5 #A5277E #A5273F
triadic
#A5277E #7EA527 #277EA5
tetradic
#A5277E #A58D27 #27A54E #273FA5
square
#A5277E #A58D27 #27A54E #273FA5
split-complementary
#A5277E #3FA527 #27A58D
monochromatic
#421032 #741B58 #A5277E #D039A1 #DC6AB9

Accessibility & contrast

On white

6.58
#A5277E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5277E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5277E#FFFFFF#000000##FFFFFF
##A5277E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5277e;
/* rgb */ color: rgb(165, 39, 126);
/* oklch */ color: oklch(50.3% 0.183 343.5);
Tailwind
colors: {
  custom: {
    50: '#c46ea3',
    500: '#a5277e',
    950: '#000000',
  },
}
SCSS
$custom: #a5277e;
$custom-light: #c46ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5277e",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 318.571,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.1831,
    "h": 343.5
  },
  "luminance": 0.10957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5277E

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

Preview Lab → · Contrast checker → · Palette generator →

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