#A5297B#A5297B

#A5297B is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.179 H 345.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A5297B
RGBrgb(165, 41, 123)
HSLhsl(320, 60%, 40%)
HSVhsv(320, 75%, 65%)
CMYKcmyk(0%, 75.2%, 25.5%, 35.3%)
CIE-LABlab(39.61, 57.13, -17.46)
CIE-LCHlch(39.61, 59.74, 343.01°)
OKLaboklab(50.31% 0.173 -0.0465)
OKLCHoklch(50.31% 0.179 345)
XYZxyz(19.8860, 11.0174, 19.8144)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5297B #29A553
analogous
#9129A5 #A5297B #A5293D
triadic
#A5297B #7BA529 #297BA5
tetradic
#A5297B #A59129 #29A553 #293DA5
square
#A5297B #A59129 #29A553 #293DA5
split-complementary
#A5297B #3DA529 #29A591
monochromatic
#431132 #741D56 #A5297B #CF3D9D #DB6EB6

Accessibility & contrast

On white

6.56
#A5297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A5297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5297B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5297B#FFFFFF#000000##FFFFFF
##A5297B1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38507D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#B0274F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a5297b;
/* rgb */ color: rgb(165, 41, 123);
/* oklch */ color: oklch(50.3% 0.179 345.0);
Tailwind
colors: {
  custom: {
    50: '#c46fa1',
    500: '#a5297b',
    950: '#000000',
  },
}
SCSS
$custom: #a5297b;
$custom-light: #c46fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a5297b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 320.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.17911,
    "h": 345
  },
  "luminance": 0.11015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5297B

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

Preview Lab → · Contrast checker → · Palette generator →

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