#AA308B#AA308B

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

Color values

HEX#AA308B
RGBrgb(170, 48, 139)
HSLhsl(315, 56%, 43%)
HSVhsv(315, 72%, 67%)
CMYKcmyk(0%, 71.8%, 18.2%, 33.3%)
CIE-LABlab(42.04, 58.19, -23.47)
CIE-LCHlch(42.04, 62.74, 338.03°)
OKLaboklab(52.47% 0.1733 -0.0633)
OKLCHoklch(52.47% 0.184 339.9)
XYZxyz(22.2953, 12.5262, 25.6647)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA308B #30AA4F
analogous
#8C30AA #AA308B #AA304E
triadic
#AA308B #8BAA30 #308BAA
tetradic
#AA308B #AA8C30 #30AA4F #304EAA
square
#AA308B #AA8C30 #30AA4F #304EAA
split-complementary
#AA308B #4EAA30 #30AA8C
monochromatic
#4B153D #7A2364 #AA308B #CC4BAB #DA7BC2

Accessibility & contrast

On white

5.99
#AA308B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA308B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA308B#FFFFFF#000000##FFFFFF
##AA308B1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38578E
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#B43459
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa308b;
/* rgb */ color: rgb(170, 48, 139);
/* oklch */ color: oklch(52.5% 0.184 339.9);
Tailwind
colors: {
  custom: {
    50: '#c773ad',
    500: '#aa308b',
    950: '#000000',
  },
}
SCSS
$custom: #aa308b;
$custom-light: #c773ad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa308b",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 315.246,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.18449,
    "h": 339.9
  },
  "luminance": 0.12524
}

Semantic roles & 50–950 ramp

primary
#AA308B
secondary
#74C288
accent
#DF6F49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA308B

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

Preview Lab → · Contrast checker → · Palette generator →

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