#AA398A#AA398A

#AA398A is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.172 H 340.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AA398A
RGBrgb(170, 57, 138)
HSLhsl(317, 50%, 45%)
HSVhsv(317, 66%, 67%)
CMYKcmyk(0%, 66.5%, 18.8%, 33.3%)
CIE-LABlab(43.23, 54.61, -21.03)
CIE-LCHlch(43.23, 58.52, 338.94°)
OKLaboklab(53.32% 0.1627 -0.0565)
OKLCHoklch(53.32% 0.172 340.8)
XYZxyz(22.6287, 13.3094, 25.4170)
Luminance0.1331 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA398A #39AA59
analogous
#9239AA #AA398A #AA3952
triadic
#AA398A #8AAA39 #398AAA
tetradic
#AA398A #AA9239 #39AA59 #3952AA
square
#AA398A #AA9239 #39AA59 #3952AA
split-complementary
#AA398A #52AA39 #39AA92
monochromatic
#4E1A40 #7C2A65 #AA398A #C759A8 #D787C0

Accessibility & contrast

On white

5.74
#AA398A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AA398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA398A
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA398A#FFFFFF#000000##FFFFFF
##AA398A1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415A8C
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#B43B5C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa398a;
/* rgb */ color: rgb(170, 57, 138);
/* oklch */ color: oklch(53.3% 0.172 340.8);
Tailwind
colors: {
  custom: {
    50: '#c778ac',
    500: '#aa398a',
    950: '#000000',
  },
}
SCSS
$custom: #aa398a;
$custom-light: #c778ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa398a",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 316.991,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.17225,
    "h": 340.8
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#AA398A
secondary
#7EC191
accent
#D9764E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA398A

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

Preview Lab → · Contrast checker → · Palette generator →

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