#A5298D#A5298D

#A5298D is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.191 H 337.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A5298D
RGBrgb(165, 41, 141)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 65%)
CMYKcmyk(0%, 75.2%, 14.5%, 35.3%)
CIE-LABlab(40.43, 59.62, -27.27)
CIE-LCHlch(40.43, 65.56, 335.42°)
OKLaboklab(51.17% 0.1757 -0.0742)
OKLCHoklch(51.17% 0.191 337.1)
XYZxyz(21.1181, 11.5103, 26.3036)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5298D #29A541
analogous
#7F29A5 #A5298D #A5294F
triadic
#A5298D #8DA529 #298DA5
tetradic
#A5298D #A57F29 #29A541 #294FA5
square
#A5298D #A57F29 #29A541 #294FA5
split-complementary
#A5298D #4FA529 #29A57F
monochromatic
#431139 #741D63 #A5298D #CF3DB2 #DB6EC6

Accessibility & contrast

On white

6.36
#A5298D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A5298D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5298D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5298D#FFFFFF#000000##FFFFFF
##A5298D1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AE3158
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a5298d;
/* rgb */ color: rgb(165, 41, 141);
/* oklch */ color: oklch(51.2% 0.191 337.1);
Tailwind
colors: {
  custom: {
    50: '#c370ae',
    500: '#a5298d',
    950: '#000000',
  },
}
SCSS
$custom: #a5298d;
$custom-light: #c370ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a5298d",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 311.613,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51171,
    "c": 0.19075,
    "h": 337.1
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

primary
#A5298D
secondary
#68C279
accent
#E36344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A5298D

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

Preview Lab → · Contrast checker → · Palette generator →

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