#A5298B#A5298B

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

Color values

HEX#A5298B
RGBrgb(165, 41, 139)
HSLhsl(313, 60%, 40%)
HSVhsv(313, 75%, 65%)
CMYKcmyk(0%, 75.2%, 15.8%, 35.3%)
CIE-LABlab(40.33, 59.33, -26.20)
CIE-LCHlch(40.33, 64.86, 336.17°)
OKLaboklab(51.07% 0.1755 -0.0711)
OKLCHoklch(51.07% 0.189 337.9)
XYZxyz(20.9706, 11.4513, 25.5270)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5298B #29A543
analogous
#8129A5 #A5298B #A5294D
triadic
#A5298B #8BA529 #298BA5
tetradic
#A5298B #A58129 #29A543 #294DA5
square
#A5298B #A58129 #29A543 #294DA5
split-complementary
#A5298B #4DA529 #29A581
monochromatic
#431138 #741D62 #A5298B #CF3DB0 #DB6EC4

Accessibility & contrast

On white

6.38
#A5298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A5298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5298B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5298B#FFFFFF#000000##FFFFFF
##A5298B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#AE3057
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5298b;
/* rgb */ color: rgb(165, 41, 139);
/* oklch */ color: oklch(51.1% 0.189 337.9);
Tailwind
colors: {
  custom: {
    50: '#c370ad',
    500: '#a5298b',
    950: '#000000',
  },
}
SCSS
$custom: #a5298b;
$custom-light: #c370ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a5298b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 312.581,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5107,
    "c": 0.18938,
    "h": 337.9
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#A5298B
secondary
#68C27B
accent
#E36644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5298B

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

Preview Lab → · Contrast checker → · Palette generator →

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