#A5295A#A5295A

#A5295A is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.1% C 0.164 H 1.6°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A5295A
RGBrgb(165, 41, 90)
HSLhsl(336, 60%, 40%)
HSVhsv(336, 75%, 65%)
CMYKcmyk(0%, 75.2%, 45.5%, 35.3%)
CIE-LABlab(38.42, 53.39, 1.51)
CIE-LCHlch(38.42, 53.41, 1.62°)
OKLaboklab(49.05% 0.1637 0.0045)
OKLCHoklch(49.05% 0.164 1.6)
XYZxyz(18.1569, 10.3258, 10.7078)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295A #29A574
analogous
#A52998 #A5295A #A53629
triadic
#A5295A #5AA529 #295AA5
tetradic
#A5295A #98A529 #29A574 #3629A5
square
#A5295A #98A529 #29A574 #3629A5
split-complementary
#A5295A #29A536 #2998A5
monochromatic
#431125 #741D3F #A5295A #CF3D76 #DB6E99

Accessibility & contrast

On white

6.85
#A5295A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A5295A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5295A
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5295A#FFFFFF#000000##FFFFFF
##A5295A1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5B
Deuteranopia (green-blind)
#666357
Tritanopia (blue-blind)
#B3123E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5295a;
/* rgb */ color: rgb(165, 41, 90);
/* oklch */ color: oklch(49.1% 0.164 1.6);
Tailwind
colors: {
  custom: {
    50: '#c56e88',
    500: '#a5295a',
    950: '#000000',
  },
}
SCSS
$custom: #a5295a;
$custom-light: #c56e88;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295a",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 336.29,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.16379,
    "h": 1.6
  },
  "luminance": 0.10323
}

Semantic roles & 50–950 ramp

primary
#A5295A
secondary
#68C29E
accent
#E3A544
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5295A

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

Preview Lab → · Contrast checker → · Palette generator →

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