#AA306B#AA306B

#AA306B is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.166 H 355.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA306B
RGBrgb(170, 48, 107)
HSLhsl(331, 56%, 43%)
HSVhsv(331, 72%, 67%)
CMYKcmyk(0%, 71.8%, 37.1%, 33.3%)
CIE-LABlab(40.77, 54.11, -5.64)
CIE-LCHlch(40.77, 54.40, 354.05°)
OKLaboklab(51.13% 0.1659 -0.0142)
OKLCHoklch(51.13% 0.166 355.1)
XYZxyz(20.2896, 11.7239, 15.1015)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA306B #30AA6F
analogous
#AA30A8 #AA306B #AA3230
triadic
#AA306B #6BAA30 #306BAA
tetradic
#AA306B #A8AA30 #30AA6F #3230AA
square
#AA306B #A8AA30 #30AA6F #3230AA
split-complementary
#AA306B #30AA32 #30A8AA
monochromatic
#4B152F #7A234D #AA306B #CC4B89 #DA7BA9

Accessibility & contrast

On white

6.28
#AA306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA306B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA306B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA306B#FFFFFF#000000##FFFFFF
##AA306B1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#B72449
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa306b;
/* rgb */ color: rgb(170, 48, 107);
/* oklch */ color: oklch(51.1% 0.166 355.1);
Tailwind
colors: {
  custom: {
    50: '#c87295',
    500: '#aa306b',
    950: '#000000',
  },
}
SCSS
$custom: #aa306b;
$custom-light: #c87295;
$custom-dark: #000000;
JSON
{
  "hex": "#aa306b",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 330.984,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.16646,
    "h": 355.1
  },
  "luminance": 0.11721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA306B

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

Preview Lab → · Contrast checker → · Palette generator →

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