#A54271#A54271

#A54271 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.6% C 0.140 H 353.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A54271
RGBrgb(165, 66, 113)
HSLhsl(332, 43%, 45%)
HSVhsv(332, 60%, 65%)
CMYKcmyk(0%, 60%, 31.5%, 35.3%)
CIE-LABlab(42.90, 45.72, -6.29)
CIE-LCHlch(42.90, 46.15, 352.17°)
OKLaboklab(52.61% 0.1391 -0.0161)
OKLCHoklch(52.61% 0.14 353.4)
XYZxyz(20.4469, 13.0901, 17.0694)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54271 #42A576
analogous
#A542A2 #A54271 #A54442
triadic
#A54271 #71A542 #4271A5
tetradic
#A54271 #A2A542 #42A576 #4442A5
square
#A54271 #A2A542 #42A576 #4442A5
split-complementary
#A54271 #42A544 #42A2A5
monochromatic
#4E1F35 #793153 #A54271 #C16390 #D28FAF

Accessibility & contrast

On white

5.80
#A54271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A54271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54271
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54271#FFFFFF#000000##FFFFFF
##A542711.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A72
Deuteranopia (green-blind)
#6B6C6F
Tritanopia (blue-blind)
#B13C54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a54271;
/* rgb */ color: rgb(165, 66, 113);
/* oklch */ color: oklch(52.6% 0.140 353.4);
Tailwind
colors: {
  custom: {
    50: '#c37b99',
    500: '#a54271',
    950: '#000000',
  },
}
SCSS
$custom: #a54271;
$custom-light: #c37b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a54271",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 113
  },
  "hsl": {
    "h": 331.515,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52608,
    "c": 0.13998,
    "h": 353.4
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#A54271
secondary
#85BDA3
accent
#D39755
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A54271

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

Preview Lab → · Contrast checker → · Palette generator →

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