#AA398B#AA398B

#AA398B is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.4% C 0.173 H 340.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AA398B
RGBrgb(170, 57, 139)
HSLhsl(316, 50%, 45%)
HSVhsv(316, 66%, 67%)
CMYKcmyk(0%, 66.5%, 18.2%, 33.3%)
CIE-LABlab(43.27, 54.75, -21.57)
CIE-LCHlch(43.27, 58.85, 338.50°)
OKLaboklab(53.37% 0.1629 -0.0581)
OKLCHoklch(53.37% 0.173 340.4)
XYZxyz(22.7014, 13.3385, 25.8001)
Luminance0.1334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA398B #39AA58
analogous
#9139AA #AA398B #AA3953
triadic
#AA398B #8BAA39 #398BAA
tetradic
#AA398B #AA9139 #39AA58 #3953AA
square
#AA398B #AA9139 #39AA58 #3953AA
split-complementary
#AA398B #53AA39 #39AA91
monochromatic
#4E1A40 #7C2A66 #AA398B #C759A9 #D787C1

Accessibility & contrast

On white

5.73
#AA398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AA398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA398B
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA398B#FFFFFF#000000##FFFFFF
##AA398B1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#636D88
Tritanopia (blue-blind)
#B43C5D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #aa398b;
/* rgb */ color: rgb(170, 57, 139);
/* oklch */ color: oklch(53.4% 0.173 340.4);
Tailwind
colors: {
  custom: {
    50: '#c778ad',
    500: '#aa398b',
    950: '#000000',
  },
}
SCSS
$custom: #aa398b;
$custom-light: #c778ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa398b",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 316.46,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53368,
    "c": 0.17294,
    "h": 340.4
  },
  "luminance": 0.13336
}

Semantic roles & 50–950 ramp

primary
#AA398B
secondary
#7EC190
accent
#D9754E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA398B

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

Preview Lab → · Contrast checker → · Palette generator →

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