#A5498E#A5498E

#A5498E is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.7% C 0.147 H 338.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A5498E
RGBrgb(165, 73, 142)
HSLhsl(315, 39%, 47%)
HSVhsv(315, 56%, 65%)
CMYKcmyk(0%, 55.8%, 13.9%, 35.3%)
CIE-LABlab(45.25, 46.60, -20.40)
CIE-LCHlch(45.25, 50.87, 336.35°)
OKLaboklab(54.71% 0.1367 -0.055)
OKLCHoklch(54.71% 0.147 338.1)
XYZxyz(22.7824, 14.7192, 27.2271)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5498E #49A560
analogous
#8E49A5 #A5498E #A54960
triadic
#A5498E #8EA549 #498EA5
tetradic
#A5498E #A58E49 #49A560 #4960A5
square
#A5498E #A58E49 #49A560 #4960A5
split-complementary
#A5498E #60A549 #49A58E
monochromatic
#502345 #7B3669 #A5498E #BE6DAA #D197C3

Accessibility & contrast

On white

5.33
#A5498E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A5498E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5498E
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5498E#FFFFFF#000000##FFFFFF
##A5498E1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#66708C
Tritanopia (blue-blind)
#AD4C65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a5498e;
/* rgb */ color: rgb(165, 73, 142);
/* oklch */ color: oklch(54.7% 0.147 338.1);
Tailwind
colors: {
  custom: {
    50: '#c280af',
    500: '#a5498e',
    950: '#000000',
  },
}
SCSS
$custom: #a5498e;
$custom-light: #c280af;
$custom-dark: #000000;
JSON
{
  "hex": "#a5498e",
  "rgb": {
    "r": 165,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 315,
    "s": 38.655,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54709,
    "c": 0.14735,
    "h": 338.1
  },
  "luminance": 0.14717
}

Semantic roles & 50–950 ramp

primary
#A5498E
secondary
#8DBD99
accent
#CF7759
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #A5498E

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

Preview Lab → · Contrast checker → · Palette generator →

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