#A5407E#A5407E

#A5407E is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.9% C 0.150 H 345.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A5407E
RGBrgb(165, 64, 126)
HSLhsl(323, 44%, 45%)
HSVhsv(323, 61%, 65%)
CMYKcmyk(0%, 61.2%, 23.6%, 35.3%)
CIE-LABlab(43.02, 48.41, -14.09)
CIE-LCHlch(43.02, 50.42, 343.77°)
OKLaboklab(52.86% 0.1457 -0.0373)
OKLCHoklch(52.86% 0.15 345.6)
XYZxyz(21.1170, 13.1745, 21.1654)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5407E #40A567
analogous
#9940A5 #A5407E #A5404C
triadic
#A5407E #7EA540 #407EA5
tetradic
#A5407E #A59940 #40A567 #404CA5
square
#A5407E #A59940 #40A567 #404CA5
split-complementary
#A5407E #4CA540 #40A599
monochromatic
#4D1E3B #792F5C #A5407E #C2619C #D38DB8

Accessibility & contrast

On white

5.78
#A5407E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A5407E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5407E#FFFFFF#000000##FFFFFF
##A5407E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B80
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#AF3F59
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a5407e;
/* rgb */ color: rgb(165, 64, 126);
/* oklch */ color: oklch(52.9% 0.150 345.6);
Tailwind
colors: {
  custom: {
    50: '#c37ba3',
    500: '#a5407e',
    950: '#000000',
  },
}
SCSS
$custom: #a5407e;
$custom-light: #c37ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#a5407e",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 323.168,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52855,
    "c": 0.15035,
    "h": 345.6
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5407E

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

Preview Lab → · Contrast checker → · Palette generator →

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