#A5276A#A5276A

#A5276A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.172 H 353.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A5276A
RGBrgb(165, 39, 106)
HSLhsl(328, 62%, 40%)
HSVhsv(328, 76%, 65%)
CMYKcmyk(0%, 76.4%, 35.8%, 35.3%)
CIE-LABlab(38.71, 55.72, -8.19)
CIE-LCHlch(38.71, 56.32, 351.64°)
OKLaboklab(49.44% 0.1709 -0.021)
OKLCHoklch(49.44% 0.172 353)
XYZxyz(18.8453, 10.4933, 14.6659)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5276A #27A562
analogous
#A127A5 #A5276A #A5272B
triadic
#A5276A #6AA527 #276AA5
tetradic
#A5276A #A5A127 #27A562 #272BA5
square
#A5276A #A5A127 #27A562 #272BA5
split-complementary
#A5276A #2BA527 #27A5A1
monochromatic
#42102A #741B4A #A5276A #D03989 #DC6AA7

Accessibility & contrast

On white

6.78
#A5276A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A5276A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5276A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5276A#FFFFFF#000000##FFFFFF
##A5276A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6C
Deuteranopia (green-blind)
#626367
Tritanopia (blue-blind)
#B21B45
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5276a;
/* rgb */ color: rgb(165, 39, 106);
/* oklch */ color: oklch(49.4% 0.172 353.0);
Tailwind
colors: {
  custom: {
    50: '#c46e94',
    500: '#a5276a',
    950: '#000000',
  },
}
SCSS
$custom: #a5276a;
$custom-light: #c46e94;
$custom-dark: #000000;
JSON
{
  "hex": "#a5276a",
  "rgb": {
    "r": 165,
    "g": 39,
    "b": 106
  },
  "hsl": {
    "h": 328.095,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.49442,
    "c": 0.17222,
    "h": 353
  },
  "luminance": 0.10491
}

Semantic roles & 50–950 ramp

primary
#A5276A
secondary
#66C291
accent
#E58F43
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5276A

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

Preview Lab → · Contrast checker → · Palette generator →

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