#A5298A#A5298A

#A5298A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.189 H 338.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A5298A
RGBrgb(165, 41, 138)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 65%)
CMYKcmyk(0%, 75.2%, 16.4%, 35.3%)
CIE-LABlab(40.28, 59.18, -25.66)
CIE-LCHlch(40.28, 64.51, 336.56°)
OKLaboklab(51.02% 0.1754 -0.0696)
OKLCHoklch(51.02% 0.189 338.4)
XYZxyz(20.8979, 11.4222, 25.1439)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5298A #29A544
analogous
#8229A5 #A5298A #A5294C
triadic
#A5298A #8AA529 #298AA5
tetradic
#A5298A #A58229 #29A544 #294CA5
square
#A5298A #A58229 #29A544 #294CA5
split-complementary
#A5298A #4CA529 #29A582
monochromatic
#431138 #741D61 #A5298A #CF3DAF #DB6EC3

Accessibility & contrast

On white

6.39
#A5298A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A5298A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5298A
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5298A#FFFFFF#000000##FFFFFF
##A5298A1.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#AE2F57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5298a;
/* rgb */ color: rgb(165, 41, 138);
/* oklch */ color: oklch(51.0% 0.189 338.4);
Tailwind
colors: {
  custom: {
    50: '#c370ac',
    500: '#a5298a',
    950: '#000000',
  },
}
SCSS
$custom: #a5298a;
$custom-light: #c370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a5298a",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 138
  },
  "hsl": {
    "h": 313.065,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5102,
    "c": 0.1887,
    "h": 338.4
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#A5298A
secondary
#68C27C
accent
#E36744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5298A

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

Preview Lab → · Contrast checker → · Palette generator →

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