#A5276C#A5276C

#A5276C is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.173 H 352.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A5276C
RGBrgb(165, 39, 108)
HSLhsl(327, 62%, 40%)
HSVhsv(327, 76%, 65%)
CMYKcmyk(0%, 76.4%, 34.5%, 35.3%)
CIE-LABlab(38.79, 55.95, -9.34)
CIE-LCHlch(38.79, 56.72, 350.53°)
OKLaboklab(49.52% 0.1715 -0.0241)
OKLCHoklch(49.52% 0.173 352)
XYZxyz(18.9505, 10.5354, 15.2200)
Luminance0.1053 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5276C #27A560
analogous
#9F27A5 #A5276C #A5272D
triadic
#A5276C #6CA527 #276CA5
tetradic
#A5276C #A59F27 #27A560 #272DA5
square
#A5276C #A59F27 #27A560 #272DA5
split-complementary
#A5276C #2DA527 #27A59F
monochromatic
#42102B #741B4C #A5276C #D0398C #DC6AA9

Accessibility & contrast

On white

6.76
#A5276C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A5276C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5276C
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5276C#FFFFFF#000000##FFFFFF
##A5276C1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B21C46
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5276c;
/* rgb */ color: rgb(165, 39, 108);
/* oklch */ color: oklch(49.5% 0.173 352.0);
Tailwind
colors: {
  custom: {
    50: '#c46e96',
    500: '#a5276c',
    950: '#000000',
  },
}
SCSS
$custom: #a5276c;
$custom-light: #c46e96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5276c",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 327.143,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49519,
    "c": 0.17317,
    "h": 352
  },
  "luminance": 0.10533
}

Semantic roles & 50–950 ramp

primary
#A5276C
secondary
#66C28F
accent
#E58C43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5276C

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

Preview Lab → · Contrast checker → · Palette generator →

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