#A5295C#A5295C

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

Color values

HEX#A5295C
RGBrgb(165, 41, 92)
HSLhsl(335, 60%, 40%)
HSVhsv(335, 75%, 65%)
CMYKcmyk(0%, 75.2%, 44.2%, 35.3%)
CIE-LABlab(38.48, 53.59, 0.33)
CIE-LCHlch(38.48, 53.59, 0.35°)
OKLaboklab(49.12% 0.1644 0.0015)
OKLCHoklch(49.12% 0.164 0.5)
XYZxyz(18.2432, 10.3603, 11.1622)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295C #29A572
analogous
#A5299A #A5295C #A53429
triadic
#A5295C #5CA529 #295CA5
tetradic
#A5295C #9AA529 #29A572 #3429A5
square
#A5295C #9AA529 #29A572 #3429A5
split-complementary
#A5295C #29A534 #299AA5
monochromatic
#431125 #741D41 #A5295C #CF3D79 #DB6E9B

Accessibility & contrast

On white

6.84
#A5295C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A5295C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5295C
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5295C#FFFFFF#000000##FFFFFF
##A5295C1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454B5D
Deuteranopia (green-blind)
#666359
Tritanopia (blue-blind)
#B3143F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a5295c;
/* rgb */ color: rgb(165, 41, 92);
/* oklch */ color: oklch(49.1% 0.164 0.5);
Tailwind
colors: {
  custom: {
    50: '#c56e8a',
    500: '#a5295c',
    950: '#000000',
  },
}
SCSS
$custom: #a5295c;
$custom-light: #c56e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295c",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 335.323,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.16444,
    "h": 0.5
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#A5295C
secondary
#68C29D
accent
#E3A244
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5295C

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

Preview Lab → · Contrast checker → · Palette generator →

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