#AA306F#AA306F

#AA306F is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.168 H 353.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA306F
RGBrgb(170, 48, 111)
HSLhsl(329, 56%, 43%)
HSVhsv(329, 72%, 67%)
CMYKcmyk(0%, 71.8%, 34.7%, 33.3%)
CIE-LABlab(40.91, 54.56, -7.93)
CIE-LCHlch(40.91, 55.14, 351.73°)
OKLaboklab(51.28% 0.167 -0.0203)
OKLCHoklch(51.28% 0.168 353.1)
XYZxyz(20.5050, 11.8100, 16.2356)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA306F #30AA6B
analogous
#A830AA #AA306F #AA3032
triadic
#AA306F #6FAA30 #306FAA
tetradic
#AA306F #AAA830 #30AA6B #3032AA
square
#AA306F #AAA830 #30AA6B #3032AA
split-complementary
#AA306F #32AA30 #30AAA8
monochromatic
#4B1531 #7A2350 #AA306F #CC4B8E #DA7BAC

Accessibility & contrast

On white

6.25
#AA306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA306F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA306F#FFFFFF#000000##FFFFFF
##AA306F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455271
Deuteranopia (green-blind)
#67696C
Tritanopia (blue-blind)
#B7264B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa306f;
/* rgb */ color: rgb(170, 48, 111);
/* oklch */ color: oklch(51.3% 0.168 353.1);
Tailwind
colors: {
  custom: {
    50: '#c87298',
    500: '#aa306f',
    950: '#000000',
  },
}
SCSS
$custom: #aa306f;
$custom-light: #c87298;
$custom-dark: #000000;
JSON
{
  "hex": "#aa306f",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 329.016,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.16826,
    "h": 353.1
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#AA306F
secondary
#74C29A
accent
#DF9149
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA306F

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

Preview Lab → · Contrast checker → · Palette generator →

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