#AA308A#AA308A

#AA308A is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.184 H 340.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AA308A
RGBrgb(170, 48, 138)
HSLhsl(316, 56%, 43%)
HSVhsv(316, 72%, 67%)
CMYKcmyk(0%, 71.8%, 18.8%, 33.3%)
CIE-LABlab(42.00, 58.05, -22.93)
CIE-LCHlch(42.00, 62.41, 338.44°)
OKLaboklab(52.43% 0.1731 -0.0618)
OKLCHoklch(52.43% 0.184 340.3)
XYZxyz(22.2226, 12.4971, 25.2817)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA308A #30AA50
analogous
#8D30AA #AA308A #AA304D
triadic
#AA308A #8AAA30 #308AAA
tetradic
#AA308A #AA8D30 #30AA50 #304DAA
square
#AA308A #AA8D30 #30AA50 #304DAA
split-complementary
#AA308A #4DAA30 #30AA8D
monochromatic
#4B153D #7A2363 #AA308A #CC4BAA #DA7BC1

Accessibility & contrast

On white

6.00
#AA308A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA308A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA308A
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA308A#FFFFFF#000000##FFFFFF
##AA308A1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#B43359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa308a;
/* rgb */ color: rgb(170, 48, 138);
/* oklch */ color: oklch(52.4% 0.184 340.3);
Tailwind
colors: {
  custom: {
    50: '#c773ac',
    500: '#aa308a',
    950: '#000000',
  },
}
SCSS
$custom: #aa308a;
$custom-light: #c773ac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa308a",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 315.738,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52425,
    "c": 0.18382,
    "h": 340.3
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#AA308A
secondary
#74C288
accent
#DF7049
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA308A

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

Preview Lab → · Contrast checker → · Palette generator →

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