#AA306C#AA306C

#AA306C is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.167 H 354.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AA306C
RGBrgb(170, 48, 108)
HSLhsl(330, 56%, 43%)
HSVhsv(330, 72%, 67%)
CMYKcmyk(0%, 71.8%, 36.5%, 33.3%)
CIE-LABlab(40.81, 54.22, -6.21)
CIE-LCHlch(40.81, 54.58, 353.46°)
OKLaboklab(51.17% 0.1662 -0.0157)
OKLCHoklch(51.17% 0.167 354.6)
XYZxyz(20.3425, 11.7451, 15.3802)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA306C #30AA6E
analogous
#AA30A9 #AA306C #AA3130
triadic
#AA306C #6CAA30 #306CAA
tetradic
#AA306C #A9AA30 #30AA6E #3130AA
square
#AA306C #A9AA30 #30AA6E #3130AA
split-complementary
#AA306C #30AA31 #30A9AA
monochromatic
#4B152F #7A234E #AA306C #CC4B8B #DA7BA9

Accessibility & contrast

On white

6.27
#AA306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA306C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA306C#FFFFFF#000000##FFFFFF
##AA306C1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#B7254A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa306c;
/* rgb */ color: rgb(170, 48, 108);
/* oklch */ color: oklch(51.2% 0.167 354.6);
Tailwind
colors: {
  custom: {
    50: '#c87296',
    500: '#aa306c',
    950: '#000000',
  },
}
SCSS
$custom: #aa306c;
$custom-light: #c87296;
$custom-dark: #000000;
JSON
{
  "hex": "#aa306c",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 330.492,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.16689,
    "h": 354.6
  },
  "luminance": 0.11743
}

Semantic roles & 50–950 ramp

primary
#AA306C
secondary
#74C29C
accent
#DF9549
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA306C

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

Preview Lab → · Contrast checker → · Palette generator →

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