#A54792#A54792

#A54792 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.6% C 0.154 H 336.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A54792
RGBrgb(165, 71, 146)
HSLhsl(312, 40%, 46%)
HSVhsv(312, 57%, 65%)
CMYKcmyk(0%, 57%, 11.5%, 35.3%)
CIE-LABlab(45.06, 48.21, -23.10)
CIE-LCHlch(45.06, 53.46, 334.40°)
OKLaboklab(54.62% 0.1404 -0.0626)
OKLCHoklch(54.62% 0.154 336)
XYZxyz(22.9588, 14.5829, 28.7941)
Luminance0.1458 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54792 #47A55A
analogous
#8947A5 #A54792 #A54763
triadic
#A54792 #92A547 #4792A5
tetradic
#A54792 #A58947 #47A55A #4763A5
square
#A54792 #A58947 #47A55A #4763A5
split-complementary
#A54792 #63A547 #47A589
monochromatic
#4F2246 #7A356C #A54792 #BF6AAE #D195C5

Accessibility & contrast

On white

5.36
#A54792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A54792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54792
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54792#FFFFFF#000000##FFFFFF
##A547921.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486294
Deuteranopia (green-blind)
#64708F
Tritanopia (blue-blind)
#AD4C66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a54792;
/* rgb */ color: rgb(165, 71, 146);
/* oklch */ color: oklch(54.6% 0.154 336.0);
Tailwind
colors: {
  custom: {
    50: '#c27fb2',
    500: '#a54792',
    950: '#000000',
  },
}
SCSS
$custom: #a54792;
$custom-light: #c27fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54792",
  "rgb": {
    "r": 165,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 312.128,
    "s": 39.831,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.1537,
    "h": 336
  },
  "luminance": 0.14581
}

Semantic roles & 50–950 ramp

primary
#A54792
secondary
#8BBD95
accent
#D07058
background
#FCF8FA
surface
#F8EFF5
border
#D1CACF
text
#130A11
muted
#827C80

Preview Lab

Preview with #A54792

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

Preview Lab → · Contrast checker → · Palette generator →

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