#A5296C#A5296C

#A5296C is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.171 H 352.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A5296C
RGBrgb(165, 41, 108)
HSLhsl(328, 60%, 40%)
HSVhsv(328, 75%, 65%)
CMYKcmyk(0%, 75.2%, 34.5%, 35.3%)
CIE-LABlab(39.02, 55.29, -8.99)
CIE-LCHlch(39.02, 56.02, 350.77°)
OKLaboklab(49.69% 0.1694 -0.0232)
OKLCHoklch(49.69% 0.171 352.2)
XYZxyz(19.0179, 10.6702, 15.2425)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5296C #29A562
analogous
#A029A5 #A5296C #A5292E
triadic
#A5296C #6CA529 #296CA5
tetradic
#A5296C #A5A029 #29A562 #292EA5
square
#A5296C #A5A029 #29A562 #292EA5
split-complementary
#A5296C #2EA529 #29A5A0
monochromatic
#43112C #741D4C #A5296C #CF3D8B #DB6EA9

Accessibility & contrast

On white

6.70
#A5296C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A5296C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5296C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5296C#FFFFFF#000000##FFFFFF
##A5296C1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E6E
Deuteranopia (green-blind)
#626469
Tritanopia (blue-blind)
#B21E47
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5296c;
/* rgb */ color: rgb(165, 41, 108);
/* oklch */ color: oklch(49.7% 0.171 352.2);
Tailwind
colors: {
  custom: {
    50: '#c46f96',
    500: '#a5296c',
    950: '#000000',
  },
}
SCSS
$custom: #a5296c;
$custom-light: #c46f96;
$custom-dark: #000000;
JSON
{
  "hex": "#a5296c",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 108
  },
  "hsl": {
    "h": 327.581,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49689,
    "c": 0.17099,
    "h": 352.2
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#A5296C
secondary
#68C291
accent
#E38D44
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5296C

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

Preview Lab → · Contrast checker → · Palette generator →

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