#AA478F#AA478F

#AA478F is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.155 H 339.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AA478F
RGBrgb(170, 71, 143)
HSLhsl(316, 41%, 47%)
HSVhsv(316, 58%, 67%)
CMYKcmyk(0%, 58.2%, 15.9%, 33.3%)
CIE-LABlab(45.69, 49.21, -20.27)
CIE-LCHlch(45.69, 53.22, 337.62°)
OKLaboklab(55.2% 0.1453 -0.0545)
OKLCHoklch(55.2% 0.155 339.4)
XYZxyz(23.7891, 15.0376, 27.6309)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA478F #47AA62
analogous
#9447AA #AA478F #AA475D
triadic
#AA478F #8FAA47 #478FAA
tetradic
#AA478F #AA9447 #47AA62 #475DAA
square
#AA478F #AA9447 #47AA62 #475DAA
split-complementary
#AA478F #5DAA47 #47AA94
monochromatic
#542346 #7F356B #AA478F #C26CAB #D498C3

Accessibility & contrast

On white

5.24
#AA478F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AA478F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA478F
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA478F#FFFFFF#000000##FFFFFF
##AA478F1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6291
Deuteranopia (green-blind)
#68728C
Tritanopia (blue-blind)
#B34A65
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa478f;
/* rgb */ color: rgb(170, 71, 143);
/* oklch */ color: oklch(55.2% 0.155 339.4);
Tailwind
colors: {
  custom: {
    50: '#c67fb0',
    500: '#aa478f',
    950: '#000000',
  },
}
SCSS
$custom: #aa478f;
$custom-light: #c67fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa478f",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 316.364,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55198,
    "c": 0.15518,
    "h": 339.4
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#AA478F
secondary
#8DC09B
accent
#D17857
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AA478F

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

Preview Lab → · Contrast checker → · Palette generator →

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