#A54277#A54277

#A54277 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.8% C 0.143 H 349.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A54277
RGBrgb(165, 66, 119)
HSLhsl(328, 43%, 45%)
HSVhsv(328, 60%, 65%)
CMYKcmyk(0%, 60%, 27.9%, 35.3%)
CIE-LABlab(43.11, 46.52, -9.67)
CIE-LCHlch(43.11, 47.51, 348.25°)
OKLaboklab(52.83% 0.1409 -0.0252)
OKLCHoklch(52.83% 0.143 349.9)
XYZxyz(20.7959, 13.2297, 18.9076)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54277 #42A570
analogous
#A142A5 #A54277 #A54245
triadic
#A54277 #77A542 #4277A5
tetradic
#A54277 #A5A142 #42A570 #4245A5
square
#A54277 #A5A142 #42A570 #4245A5
split-complementary
#A54277 #45A542 #42A5A1
monochromatic
#4E1F38 #793157 #A54277 #C16395 #D28FB3

Accessibility & contrast

On white

5.76
#A54277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A54277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54277
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54277#FFFFFF#000000##FFFFFF
##A542771.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5B79
Deuteranopia (green-blind)
#6A6C75
Tritanopia (blue-blind)
#B03E57
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a54277;
/* rgb */ color: rgb(165, 66, 119);
/* oklch */ color: oklch(52.8% 0.143 349.9);
Tailwind
colors: {
  custom: {
    50: '#c37b9e',
    500: '#a54277',
    950: '#000000',
  },
}
SCSS
$custom: #a54277;
$custom-light: #c37b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a54277",
  "rgb": {
    "r": 165,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 327.879,
    "s": 42.857,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52831,
    "c": 0.14313,
    "h": 349.9
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#A54277
secondary
#85BD9F
accent
#D38F55
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A54277

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

Preview Lab → · Contrast checker → · Palette generator →

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