#AA307F#AA307F

#AA307F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.177 H 345.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AA307F
RGBrgb(170, 48, 127)
HSLhsl(321, 56%, 43%)
HSVhsv(321, 72%, 67%)
CMYKcmyk(0%, 71.8%, 25.3%, 33.3%)
CIE-LABlab(41.52, 56.55, -16.92)
CIE-LCHlch(41.52, 59.02, 343.34°)
OKLaboklab(51.93% 0.1711 -0.0449)
OKLCHoklch(51.93% 0.177 345.3)
XYZxyz(21.4662, 12.1945, 21.2978)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA307F #30AA5B
analogous
#9830AA #AA307F #AA3042
triadic
#AA307F #7FAA30 #307FAA
tetradic
#AA307F #AA9830 #30AA5B #3042AA
square
#AA307F #AA9830 #30AA5B #3042AA
split-complementary
#AA307F #42AA30 #30AA98
monochromatic
#4B1538 #7A235B #AA307F #CC4B9F #DA7BB8

Accessibility & contrast

On white

6.11
#AA307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AA307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA307F
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA307F#FFFFFF#000000##FFFFFF
##AA307F1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5581
Deuteranopia (green-blind)
#63697C
Tritanopia (blue-blind)
#B52E53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa307f;
/* rgb */ color: rgb(170, 48, 127);
/* oklch */ color: oklch(51.9% 0.177 345.3);
Tailwind
colors: {
  custom: {
    50: '#c773a4',
    500: '#aa307f',
    950: '#000000',
  },
}
SCSS
$custom: #aa307f;
$custom-light: #c773a4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa307f",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 321.148,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.17687,
    "h": 345.3
  },
  "luminance": 0.12192
}

Semantic roles & 50–950 ramp

primary
#AA307F
secondary
#74C28F
accent
#DF7E49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AA307F

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

Preview Lab → · Contrast checker → · Palette generator →

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