#A5407A#A5407A

#A5407A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.7% C 0.148 H 347.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A5407A
RGBrgb(165, 64, 122)
HSLhsl(326, 44%, 45%)
HSVhsv(326, 61%, 65%)
CMYKcmyk(0%, 61.2%, 26.1%, 35.3%)
CIE-LABlab(42.87, 47.85, -11.87)
CIE-LCHlch(42.87, 49.30, 346.07°)
OKLaboklab(52.69% 0.1446 -0.0312)
OKLCHoklch(52.69% 0.148 347.8)
XYZxyz(20.8641, 13.0733, 19.8332)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5407A #40A56B
analogous
#9E40A5 #A5407A #A54047
triadic
#A5407A #7AA540 #407AA5
tetradic
#A5407A #A59E40 #40A56B #4047A5
square
#A5407A #A59E40 #40A56B #4047A5
split-complementary
#A5407A #47A540 #40A59E
monochromatic
#4D1E39 #792F59 #A5407A #C26198 #D38DB5

Accessibility & contrast

On white

5.81
#A5407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A5407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5407A
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5407A#FFFFFF#000000##FFFFFF
##A5407A1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7C
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#B03D57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a5407a;
/* rgb */ color: rgb(165, 64, 122);
/* oklch */ color: oklch(52.7% 0.148 347.8);
Tailwind
colors: {
  custom: {
    50: '#c37aa0',
    500: '#a5407a',
    950: '#000000',
  },
}
SCSS
$custom: #a5407a;
$custom-light: #c37aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a5407a",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 325.545,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.1479,
    "h": 347.8
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#A5407A
secondary
#83BE9C
accent
#D48A54
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A5407A

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

Preview Lab → · Contrast checker → · Palette generator →

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