#AA398E#AA398E

#AA398E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.5% C 0.175 H 339.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AA398E
RGBrgb(170, 57, 142)
HSLhsl(315, 50%, 45%)
HSVhsv(315, 66%, 67%)
CMYKcmyk(0%, 66.5%, 16.5%, 33.3%)
CIE-LABlab(43.40, 55.20, -23.19)
CIE-LCHlch(43.40, 59.87, 337.21°)
OKLaboklab(53.51% 0.1634 -0.0626)
OKLCHoklch(53.51% 0.175 339)
XYZxyz(22.9237, 13.4274, 26.9704)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA398E #39AA55
analogous
#8E39AA #AA398E #AA3956
triadic
#AA398E #8EAA39 #398EAA
tetradic
#AA398E #AA8E39 #39AA55 #3956AA
square
#AA398E #AA8E39 #39AA55 #3956AA
split-complementary
#AA398E #56AA39 #39AA8E
monochromatic
#4E1A41 #7C2A68 #AA398E #C759AC #D787C3

Accessibility & contrast

On white

5.70
#AA398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA398E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA398E#FFFFFF#000000##FFFFFF
##AA398E1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#B33D5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa398e;
/* rgb */ color: rgb(170, 57, 142);
/* oklch */ color: oklch(53.5% 0.175 339.0);
Tailwind
colors: {
  custom: {
    50: '#c778af',
    500: '#aa398e',
    950: '#000000',
  },
}
SCSS
$custom: #aa398e;
$custom-light: #c778af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa398e",
  "rgb": {
    "r": 170,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 314.867,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53506,
    "c": 0.17502,
    "h": 339
  },
  "luminance": 0.13425
}

Semantic roles & 50–950 ramp

primary
#AA398E
secondary
#7EC18F
accent
#D9714E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA398E

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

Preview Lab → · Contrast checker → · Palette generator →

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