#A45178#A45178

#A45178 is a mid, moderate pink. Relative luminance 0.151; OKLCH L 54.8% C 0.118 H 352.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A45178
RGBrgb(164, 81, 120)
HSLhsl(332, 34%, 48%)
HSVhsv(332, 51%, 64%)
CMYKcmyk(0%, 50.6%, 26.8%, 35.7%)
CIE-LABlab(45.82, 38.87, -6.24)
CIE-LCHlch(45.82, 39.36, 350.88°)
OKLaboklab(54.84% 0.1173 -0.016)
OKLCHoklch(54.84% 0.118 352.2)
XYZxyz(21.6432, 15.1353, 19.5472)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45178 #51A47D
analogous
#A451A2 #A45178 #A45351
triadic
#A45178 #78A451 #5178A4
tetradic
#A45178 #A2A451 #51A47D #5351A4
square
#A45178 #A2A451 #51A47D #5351A4
split-complementary
#A45178 #51A453 #51A2A4
monochromatic
#52293C #7B3D5A #A45178 #BC7797 #D0A0B6

Accessibility & contrast

On white

5.22
#A45178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A45178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A45178
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45178#FFFFFF#000000##FFFFFF
##A451781.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6379
Deuteranopia (green-blind)
#717276
Tritanopia (blue-blind)
#AF4E60
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a45178;
/* rgb */ color: rgb(164, 81, 120);
/* oklch */ color: oklch(54.8% 0.118 352.2);
Tailwind
colors: {
  custom: {
    50: '#c1849f',
    500: '#a45178',
    950: '#000000',
  },
}
SCSS
$custom: #a45178;
$custom-light: #c1849f;
$custom-dark: #000000;
JSON
{
  "hex": "#a45178",
  "rgb": {
    "r": 164,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 331.807,
    "s": 33.878,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54835,
    "c": 0.1184,
    "h": 352.2
  },
  "luminance": 0.15133
}

Semantic roles & 50–950 ramp

primary
#A45178
secondary
#94BDAA
accent
#CA975E
background
#FCF8F9
surface
#F8EFF2
border
#D1CACC
text
#130B0E
muted
#827C7E

Preview Lab

Preview with #A45178

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

Preview Lab → · Contrast checker → · Palette generator →

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