#A5407F#A5407F

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

Color values

HEX#A5407F
RGBrgb(165, 64, 127)
HSLhsl(323, 44%, 45%)
HSVhsv(323, 61%, 65%)
CMYKcmyk(0%, 61.2%, 23%, 35.3%)
CIE-LABlab(43.06, 48.56, -14.64)
CIE-LCHlch(43.06, 50.72, 343.22°)
OKLaboklab(52.9% 0.1459 -0.0388)
OKLCHoklch(52.9% 0.151 345.1)
XYZxyz(21.1819, 13.2004, 21.5069)
Luminance0.1320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5407F #40A566
analogous
#9840A5 #A5407F #A5404D
triadic
#A5407F #7FA540 #407FA5
tetradic
#A5407F #A59840 #40A566 #404DA5
square
#A5407F #A59840 #40A566 #404DA5
split-complementary
#A5407F #4DA540 #40A598
monochromatic
#4D1E3B #792F5D #A5407F #C2619D #D38DB8

Accessibility & contrast

On white

5.77
#A5407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#A5407F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5407F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5407F#FFFFFF#000000##FFFFFF
##A5407F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5B81
Deuteranopia (green-blind)
#666C7D
Tritanopia (blue-blind)
#AF3F5A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a5407f;
/* rgb */ color: rgb(165, 64, 127);
/* oklch */ color: oklch(52.9% 0.151 345.1);
Tailwind
colors: {
  custom: {
    50: '#c37ba4',
    500: '#a5407f',
    950: '#000000',
  },
}
SCSS
$custom: #a5407f;
$custom-light: #c37ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#a5407f",
  "rgb": {
    "r": 165,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 322.574,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.15099,
    "h": 345.1
  },
  "luminance": 0.13198
}

Semantic roles & 50–950 ramp

primary
#A5407F
secondary
#83BE99
accent
#D48454
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A0F
muted
#827C7F

Preview Lab

Preview with #A5407F

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

Preview Lab → · Contrast checker → · Palette generator →

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