#A5297A#A5297A

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

Color values

HEX#A5297A
RGBrgb(165, 41, 122)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 65%)
CMYKcmyk(0%, 75.2%, 26.1%, 35.3%)
CIE-LABlab(39.57, 57.00, -16.90)
CIE-LCHlch(39.57, 59.45, 343.48°)
OKLaboklab(50.27% 0.1728 -0.0449)
OKLCHoklch(50.27% 0.179 345.4)
XYZxyz(19.8237, 10.9925, 19.4864)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5297A #29A554
analogous
#9229A5 #A5297A #A5293C
triadic
#A5297A #7AA529 #297AA5
tetradic
#A5297A #A59229 #29A554 #293CA5
square
#A5297A #A59229 #29A554 #293CA5
split-complementary
#A5297A #3CA529 #29A592
monochromatic
#431132 #741D56 #A5297A #CF3D9C #DB6EB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5297A#FFFFFF#000000##FFFFFF
##A5297A1.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)
#39507C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#B0274E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5297a;
/* rgb */ color: rgb(165, 41, 122);
/* oklch */ color: oklch(50.3% 0.179 345.4);
Tailwind
colors: {
  custom: {
    50: '#c46fa0',
    500: '#a5297a',
    950: '#000000',
  },
}
SCSS
$custom: #a5297a;
$custom-light: #c46fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5297a",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 122
  },
  "hsl": {
    "h": 320.806,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.17852,
    "h": 345.4
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#A5297A
secondary
#68C287
accent
#E37C44
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A5297A

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

Preview Lab → · Contrast checker → · Palette generator →

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