#A54178#A54178

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

Color values

HEX#A54178
RGBrgb(165, 65, 120)
HSLhsl(327, 43%, 45%)
HSVhsv(327, 61%, 65%)
CMYKcmyk(0%, 60.6%, 27.3%, 35.3%)
CIE-LABlab(42.97, 47.12, -10.49)
CIE-LCHlch(42.97, 48.27, 347.45°)
OKLaboklab(52.74% 0.1426 -0.0274)
OKLCHoklch(52.74% 0.145 349.1)
XYZxyz(20.7983, 13.1380, 19.2062)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54178 #41A56E
analogous
#A041A5 #A54178 #A54146
triadic
#A54178 #78A541 #4178A5
tetradic
#A54178 #A5A041 #41A56E #4146A5
square
#A54178 #A5A041 #41A56E #4146A5
split-complementary
#A54178 #46A541 #41A5A0
monochromatic
#4D1E38 #793058 #A54178 #C16296 #D28EB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A54178#FFFFFF#000000##FFFFFF
##A541781.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)
#4D5A7A
Deuteranopia (green-blind)
#696C76
Tritanopia (blue-blind)
#B03E57
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a54178;
/* rgb */ color: rgb(165, 65, 120);
/* oklch */ color: oklch(52.7% 0.145 349.1);
Tailwind
colors: {
  custom: {
    50: '#c37b9f',
    500: '#a54178',
    950: '#000000',
  },
}
SCSS
$custom: #a54178;
$custom-light: #c37b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a54178",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 327,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52741,
    "c": 0.14522,
    "h": 349.1
  },
  "luminance": 0.13136
}

Semantic roles & 50–950 ramp

primary
#A54178
secondary
#84BE9E
accent
#D38E55
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A54178

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

Preview Lab → · Contrast checker → · Palette generator →

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