#A5296B#A5296B

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

Color values

HEX#A5296B
RGBrgb(165, 41, 107)
HSLhsl(328, 60%, 40%)
HSVhsv(328, 75%, 65%)
CMYKcmyk(0%, 75.2%, 35.2%, 35.3%)
CIE-LABlab(38.98, 55.18, -8.41)
CIE-LCHlch(38.98, 55.82, 351.33°)
OKLaboklab(49.65% 0.1691 -0.0216)
OKLCHoklch(49.65% 0.171 352.7)
XYZxyz(18.9650, 10.6490, 14.9638)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5296B #29A563
analogous
#A129A5 #A5296B #A5292D
triadic
#A5296B #6BA529 #296BA5
tetradic
#A5296B #A5A129 #29A563 #292DA5
square
#A5296B #A5A129 #29A563 #292DA5
split-complementary
#A5296B #2DA529 #29A5A1
monochromatic
#43112B #741D4B #A5296B #CF3D8A #DB6EA8

Accessibility & contrast

On white

6.71
#A5296B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5296B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5296B#FFFFFF#000000##FFFFFF
##A5296B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404D6D
Deuteranopia (green-blind)
#636468
Tritanopia (blue-blind)
#B21E46
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a5296b;
/* rgb */ color: rgb(165, 41, 107);
/* oklch */ color: oklch(49.7% 0.171 352.7);
Tailwind
colors: {
  custom: {
    50: '#c46f95',
    500: '#a5296b',
    950: '#000000',
  },
}
SCSS
$custom: #a5296b;
$custom-light: #c46f95;
$custom-dark: #000000;
JSON
{
  "hex": "#a5296b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 328.065,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.1705,
    "h": 352.7
  },
  "luminance": 0.10647
}

Semantic roles & 50–950 ramp

primary
#A5296B
secondary
#68C292
accent
#E38F44
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A5296B

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

Preview Lab → · Contrast checker → · Palette generator →

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