#A5295B#A5295B

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

Color values

HEX#A5295B
RGBrgb(165, 41, 91)
HSLhsl(336, 60%, 40%)
HSVhsv(336, 75%, 65%)
CMYKcmyk(0%, 75.2%, 44.8%, 35.3%)
CIE-LABlab(38.45, 53.49, 0.92)
CIE-LCHlch(38.45, 53.50, 0.99°)
OKLaboklab(49.09% 0.1641 0.003)
OKLCHoklch(49.09% 0.164 1)
XYZxyz(18.1997, 10.3429, 10.9335)
Luminance0.1034 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5295B #29A573
analogous
#A52999 #A5295B #A53529
triadic
#A5295B #5BA529 #295BA5
tetradic
#A5295B #99A529 #29A573 #3529A5
square
#A5295B #99A529 #29A573 #3529A5
split-complementary
#A5295B #29A535 #2999A5
monochromatic
#431125 #741D40 #A5295B #CF3D77 #DB6E9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5295B#FFFFFF#000000##FFFFFF
##A5295B1.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)
#454B5C
Deuteranopia (green-blind)
#666358
Tritanopia (blue-blind)
#B3133E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a5295b;
/* rgb */ color: rgb(165, 41, 91);
/* oklch */ color: oklch(49.1% 0.164 1.0);
Tailwind
colors: {
  custom: {
    50: '#c56e89',
    500: '#a5295b',
    950: '#000000',
  },
}
SCSS
$custom: #a5295b;
$custom-light: #c56e89;
$custom-dark: #000000;
JSON
{
  "hex": "#a5295b",
  "rgb": {
    "r": 165,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 335.806,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49086,
    "c": 0.16411,
    "h": 1
  },
  "luminance": 0.10341
}

Semantic roles & 50–950 ramp

primary
#A5295B
secondary
#68C29E
accent
#E3A344
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5295B

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

Preview Lab → · Contrast checker → · Palette generator →

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