#A54173#A54173

#A54173 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.6% C 0.142 H 352.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A54173
RGBrgb(165, 65, 115)
HSLhsl(330, 43%, 45%)
HSVhsv(330, 61%, 65%)
CMYKcmyk(0%, 60.6%, 30.3%, 35.3%)
CIE-LABlab(42.79, 46.45, -7.68)
CIE-LCHlch(42.79, 47.08, 350.61°)
OKLaboklab(52.55% 0.1411 -0.0198)
OKLCHoklch(52.55% 0.143 352)
XYZxyz(20.5028, 13.0198, 17.6496)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54173 #41A573
analogous
#A541A5 #A54173 #A54141
triadic
#A54173 #73A541 #4173A5
tetradic
#A54173 #A5A541 #41A573 #4141A5
square
#A54173 #A5A541 #41A573 #4141A5
split-complementary
#A54173 #41A541 #41A5A5
monochromatic
#4D1E36 #793054 #A54173 #C16292 #D28EB0

Accessibility & contrast

On white

5.83
#A54173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A54173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54173
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54173#FFFFFF#000000##FFFFFF
##A541731.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5A75
Deuteranopia (green-blind)
#6A6C71
Tritanopia (blue-blind)
#B13C55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a54173;
/* rgb */ color: rgb(165, 65, 115);
/* oklch */ color: oklch(52.6% 0.142 352.0);
Tailwind
colors: {
  custom: {
    50: '#c37b9b',
    500: '#a54173',
    950: '#000000',
  },
}
SCSS
$custom: #a54173;
$custom-light: #c37b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a54173",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 330,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.1425,
    "h": 352
  },
  "luminance": 0.13018
}

Semantic roles & 50–950 ramp

primary
#A54173
secondary
#84BEA1
accent
#D39455
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A54173

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

Preview Lab → · Contrast checker → · Palette generator →

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