#A5297E#A5297E

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

Color values

HEX#A5297E
RGBrgb(165, 41, 126)
HSLhsl(319, 60%, 40%)
HSVhsv(319, 75%, 65%)
CMYKcmyk(0%, 75.2%, 23.6%, 35.3%)
CIE-LABlab(39.74, 57.52, -19.12)
CIE-LCHlch(39.74, 60.62, 341.61°)
OKLaboklab(50.45% 0.1736 -0.0511)
OKLCHoklch(50.45% 0.181 343.6)
XYZxyz(20.0766, 11.0937, 20.8186)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5297E #29A550
analogous
#8E29A5 #A5297E #A52940
triadic
#A5297E #7EA529 #297EA5
tetradic
#A5297E #A58E29 #29A550 #2940A5
square
#A5297E #A58E29 #29A550 #2940A5
split-complementary
#A5297E #40A529 #29A58E
monochromatic
#431133 #741D59 #A5297E #CF3DA1 #DB6EB8

Accessibility & contrast

On white

6.52
#A5297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A5297E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5297E
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5297E#FFFFFF#000000##FFFFFF
##A5297E1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375080
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B02950
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5297e;
/* rgb */ color: rgb(165, 41, 126);
/* oklch */ color: oklch(50.4% 0.181 343.6);
Tailwind
colors: {
  custom: {
    50: '#c46fa3',
    500: '#a5297e',
    950: '#000000',
  },
}
SCSS
$custom: #a5297e;
$custom-light: #c46fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5297e",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 318.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.18093,
    "h": 343.6
  },
  "luminance": 0.11092
}

Semantic roles & 50–950 ramp

primary
#A5297E
secondary
#68C284
accent
#E37644
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A5297E

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

Preview Lab → · Contrast checker → · Palette generator →

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