#AA3898#AA3898

#AA3898 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.9% C 0.184 H 334.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#AA3898
RGBrgb(170, 56, 152)
HSLhsl(309, 50%, 44%)
HSVhsv(309, 67%, 67%)
CMYKcmyk(0%, 67.1%, 10.6%, 33.3%)
CIE-LABlab(43.72, 57.13, -28.73)
CIE-LCHlch(43.72, 63.95, 333.30°)
OKLaboklab(53.89% 0.1661 -0.0784)
OKLCHoklch(53.89% 0.184 334.7)
XYZxyz(23.6594, 13.6433, 31.0870)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3898 #38AA4A
analogous
#8338AA #AA3898 #AA385F
triadic
#AA3898 #98AA38 #3898AA
tetradic
#AA3898 #AA8338 #38AA4A #385FAA
square
#AA3898 #AA8338 #38AA4A #385FAA
split-complementary
#AA3898 #5FAA38 #38AA83
monochromatic
#4E1A46 #7C296F #AA3898 #C857B6 #D785CA

Accessibility & contrast

On white

5.63
#AA3898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AA3898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3898
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3898#FFFFFF#000000##FFFFFF
##AA38981.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375D9B
Deuteranopia (green-blind)
#5D6D95
Tritanopia (blue-blind)
#B24063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #aa3898;
/* rgb */ color: rgb(170, 56, 152);
/* oklch */ color: oklch(53.9% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#c778b6',
    500: '#aa3898',
    950: '#000000',
  },
}
SCSS
$custom: #aa3898;
$custom-light: #c778b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3898",
  "rgb": {
    "r": 170,
    "g": 56,
    "b": 152
  },
  "hsl": {
    "h": 309.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.18365,
    "h": 334.7
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#AA3898
secondary
#7DC188
accent
#DA644E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AA3898

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

Preview Lab → · Contrast checker → · Palette generator →

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