#AA3978#AA3978

#AA3978 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.161 H 349.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AA3978
RGBrgb(170, 57, 120)
HSLhsl(327, 50%, 45%)
HSVhsv(327, 66%, 67%)
CMYKcmyk(0%, 66.5%, 29.4%, 33.3%)
CIE-LABlab(42.51, 52.14, -11.11)
CIE-LCHlch(42.51, 53.32, 347.97°)
OKLaboklab(52.56% 0.1586 -0.029)
OKLCHoklch(52.56% 0.161 349.6)
XYZxyz(21.4319, 12.8306, 19.1135)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3978 #39AA6B
analogous
#A439AA #AA3978 #AA393F
triadic
#AA3978 #78AA39 #3978AA
tetradic
#AA3978 #AAA439 #39AA6B #393FAA
square
#AA3978 #AAA439 #39AA6B #393FAA
split-complementary
#AA3978 #3FAA39 #39AAA4
monochromatic
#4E1A37 #7C2A58 #AA3978 #C75996 #D787B3

Accessibility & contrast

On white

5.89
#AA3978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA3978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3978
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3978#FFFFFF#000000##FFFFFF
##AA39781.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#B63453
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa3978;
/* rgb */ color: rgb(170, 57, 120);
/* oklch */ color: oklch(52.6% 0.161 349.6);
Tailwind
colors: {
  custom: {
    50: '#c7779f',
    500: '#aa3978',
    950: '#000000',
  },
}
SCSS
$custom: #aa3978;
$custom-light: #c7779f;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3978",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 326.549,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52559,
    "c": 0.16118,
    "h": 349.6
  },
  "luminance": 0.12828
}

Semantic roles & 50–950 ramp

primary
#AA3978
secondary
#7EC19C
accent
#D98C4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AA3978

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

Preview Lab → · Contrast checker → · Palette generator →

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