#A5297D#A5297D

#A5297D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.180 H 344.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A5297D
RGBrgb(165, 41, 125)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 65%)
CMYKcmyk(0%, 75.2%, 24.2%, 35.3%)
CIE-LABlab(39.69, 57.39, -18.57)
CIE-LCHlch(39.69, 60.32, 342.07°)
OKLaboklab(50.4% 0.1734 -0.0496)
OKLCHoklch(50.4% 0.18 344)
XYZxyz(20.0124, 11.0680, 20.4805)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5297D #29A551
analogous
#8F29A5 #A5297D #A5293F
triadic
#A5297D #7DA529 #297DA5
tetradic
#A5297D #A58F29 #29A551 #293FA5
square
#A5297D #A58F29 #29A551 #293FA5
split-complementary
#A5297D #3FA529 #29A58F
monochromatic
#431133 #741D58 #A5297D #CF3DA0 #DB6EB8

Accessibility & contrast

On white

6.54
#A5297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A5297D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5297D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5297D#FFFFFF#000000##FFFFFF
##A5297D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#B02850
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5297d;
/* rgb */ color: rgb(165, 41, 125);
/* oklch */ color: oklch(50.4% 0.180 344.0);
Tailwind
colors: {
  custom: {
    50: '#c46fa2',
    500: '#a5297d',
    950: '#000000',
  },
}
SCSS
$custom: #a5297d;
$custom-light: #c46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5297d",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 319.355,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.18031,
    "h": 344
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#A5297D
secondary
#68C285
accent
#E37844
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5297D

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

Preview Lab → · Contrast checker → · Palette generator →

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