#AA478E#AA478E

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

Color values

HEX#AA478E
RGBrgb(170, 71, 142)
HSLhsl(317, 41%, 47%)
HSVhsv(317, 58%, 67%)
CMYKcmyk(0%, 58.2%, 16.5%, 33.3%)
CIE-LABlab(45.64, 49.06, -19.73)
CIE-LCHlch(45.64, 52.88, 338.09°)
OKLaboklab(55.15% 0.1451 -0.053)
OKLCHoklch(55.15% 0.154 339.9)
XYZxyz(23.7137, 15.0075, 27.2337)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA478E #47AA63
analogous
#9547AA #AA478E #AA475C
triadic
#AA478E #8EAA47 #478EAA
tetradic
#AA478E #AA9547 #47AA63 #475CAA
square
#AA478E #AA9547 #47AA63 #475CAA
split-complementary
#AA478E #5CAA47 #47AA95
monochromatic
#542346 #7F356A #AA478E #C26CAA #D498C3

Accessibility & contrast

On white

5.25
#AA478E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AA478E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA478E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA478E#FFFFFF#000000##FFFFFF
##AA478E1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#69728B
Tritanopia (blue-blind)
#B34964
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #aa478e;
/* rgb */ color: rgb(170, 71, 142);
/* oklch */ color: oklch(55.2% 0.154 339.9);
Tailwind
colors: {
  custom: {
    50: '#c67faf',
    500: '#aa478e',
    950: '#000000',
  },
}
SCSS
$custom: #aa478e;
$custom-light: #c67faf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa478e",
  "rgb": {
    "r": 170,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 316.97,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55154,
    "c": 0.15445,
    "h": 339.9
  },
  "luminance": 0.15006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA478E

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

Preview Lab → · Contrast checker → · Palette generator →

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