#AA398F#AA398F

#AA398F is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.176 H 338.6°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AA398F
RGBrgb(170, 57, 143)
HSLhsl(314, 50%, 45%)
HSVhsv(314, 66%, 67%)
CMYKcmyk(0%, 66.5%, 15.9%, 33.3%)
CIE-LABlab(43.44, 55.35, -23.73)
CIE-LCHlch(43.44, 60.22, 336.79°)
OKLaboklab(53.55% 0.1636 -0.0641)
OKLCHoklch(53.55% 0.176 338.6)
XYZxyz(22.9991, 13.4575, 27.3676)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA398F #39AA54
analogous
#8D39AA #AA398F #AA3957
triadic
#AA398F #8FAA39 #398FAA
tetradic
#AA398F #AA8D39 #39AA54 #3957AA
square
#AA398F #AA8D39 #39AA54 #3957AA
split-complementary
#AA398F #57AA39 #39AA8D
monochromatic
#4E1A42 #7C2A68 #AA398F #C759AD #D787C4

Accessibility & contrast

On white

5.69
#AA398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AA398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA398F
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA398F#FFFFFF#000000##FFFFFF
##AA398F1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B92
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#B33D5F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa398f;
/* rgb */ color: rgb(170, 57, 143);
/* oklch */ color: oklch(53.6% 0.176 338.6);
Tailwind
colors: {
  custom: {
    50: '#c778b0',
    500: '#aa398f',
    950: '#000000',
  },
}
SCSS
$custom: #aa398f;
$custom-light: #c778b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa398f",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 314.336,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.17573,
    "h": 338.6
  },
  "luminance": 0.13455
}

Semantic roles & 50–950 ramp

primary
#AA398F
secondary
#7EC18E
accent
#D9704E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA398F

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

Preview Lab → · Contrast checker → · Palette generator →

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