#A5297C#A5297C

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

Color values

HEX#A5297C
RGBrgb(165, 41, 124)
HSLhsl(320, 60%, 40%)
HSVhsv(320, 75%, 65%)
CMYKcmyk(0%, 75.2%, 24.8%, 35.3%)
CIE-LABlab(39.65, 57.26, -18.01)
CIE-LCHlch(39.65, 60.03, 342.54°)
OKLaboklab(50.36% 0.1732 -0.048)
OKLCHoklch(50.36% 0.18 344.5)
XYZxyz(19.9489, 11.0426, 20.1457)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5297C #29A552
analogous
#9029A5 #A5297C #A5293E
triadic
#A5297C #7CA529 #297CA5
tetradic
#A5297C #A59029 #29A552 #293EA5
square
#A5297C #A59029 #29A552 #293EA5
split-complementary
#A5297C #3EA529 #29A590
monochromatic
#431132 #741D57 #A5297C #CF3D9E #DB6EB7

Accessibility & contrast

On white

6.55
#A5297C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5297C
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5297C#FFFFFF#000000##FFFFFF
##A5297C1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507E
Deuteranopia (green-blind)
#5E6579
Tritanopia (blue-blind)
#B0284F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5297c;
/* rgb */ color: rgb(165, 41, 124);
/* oklch */ color: oklch(50.4% 0.180 344.5);
Tailwind
colors: {
  custom: {
    50: '#c46fa2',
    500: '#a5297c',
    950: '#000000',
  },
}
SCSS
$custom: #a5297c;
$custom-light: #c46fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5297c",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 319.839,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50358,
    "c": 0.17971,
    "h": 344.5
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#A5297C
secondary
#68C286
accent
#E37944
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A5297C

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

Preview Lab → · Contrast checker → · Palette generator →

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