#A5407D#A5407D

#A5407D is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.8% C 0.150 H 346.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A5407D
RGBrgb(165, 64, 125)
HSLhsl(324, 44%, 45%)
HSVhsv(324, 61%, 65%)
CMYKcmyk(0%, 61.2%, 24.2%, 35.3%)
CIE-LABlab(42.99, 48.27, -13.53)
CIE-LCHlch(42.99, 50.13, 344.34°)
OKLaboklab(52.81% 0.1454 -0.0358)
OKLCHoklch(52.81% 0.15 346.2)
XYZxyz(21.0528, 13.1488, 20.8273)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5407D #40A568
analogous
#9A40A5 #A5407D #A5404B
triadic
#A5407D #7DA540 #407DA5
tetradic
#A5407D #A59A40 #40A568 #404BA5
square
#A5407D #A59A40 #40A568 #404BA5
split-complementary
#A5407D #4BA540 #40A59A
monochromatic
#4D1E3A #792F5C #A5407D #C2619B #D38DB7

Accessibility & contrast

On white

5.79
#A5407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#A5407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5407D
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5407D#FFFFFF#000000##FFFFFF
##A5407D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B7F
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#B03E59
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a5407d;
/* rgb */ color: rgb(165, 64, 125);
/* oklch */ color: oklch(52.8% 0.150 346.2);
Tailwind
colors: {
  custom: {
    50: '#c37aa2',
    500: '#a5407d',
    950: '#000000',
  },
}
SCSS
$custom: #a5407d;
$custom-light: #c37aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#a5407d",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 323.762,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52814,
    "c": 0.14972,
    "h": 346.2
  },
  "luminance": 0.13147
}

Semantic roles & 50–950 ramp

primary
#A5407D
secondary
#83BE9A
accent
#D48754
background
#FCF7FA
surface
#F8EEF3
border
#D1C9CD
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A5407D

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

Preview Lab → · Contrast checker → · Palette generator →

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