#AA308C#AA308C

#AA308C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.185 H 339.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AA308C
RGBrgb(170, 48, 140)
HSLhsl(315, 56%, 43%)
HSVhsv(315, 72%, 67%)
CMYKcmyk(0%, 71.8%, 17.6%, 33.3%)
CIE-LABlab(42.09, 58.33, -24.01)
CIE-LCHlch(42.09, 63.08, 337.62°)
OKLaboklab(52.52% 0.1734 -0.0649)
OKLCHoklch(52.52% 0.185 339.5)
XYZxyz(22.3687, 12.5555, 26.0513)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA308C #30AA4E
analogous
#8B30AA #AA308C #AA304F
triadic
#AA308C #8CAA30 #308CAA
tetradic
#AA308C #AA8B30 #30AA4E #304FAA
square
#AA308C #AA8B30 #30AA4E #304FAA
split-complementary
#AA308C #4FAA30 #30AA8B
monochromatic
#4B153D #7A2365 #AA308C #CC4BAC #DA7BC2

Accessibility & contrast

On white

5.98
#AA308C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AA308C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA308C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA308C#FFFFFF#000000##FFFFFF
##AA308C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37578F
Deuteranopia (green-blind)
#5F6A89
Tritanopia (blue-blind)
#B4345A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa308c;
/* rgb */ color: rgb(170, 48, 140);
/* oklch */ color: oklch(52.5% 0.185 339.5);
Tailwind
colors: {
  custom: {
    50: '#c773ae',
    500: '#aa308c',
    950: '#000000',
  },
}
SCSS
$custom: #aa308c;
$custom-light: #c773ae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa308c",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 314.754,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5252,
    "c": 0.18516,
    "h": 339.5
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#AA308C
secondary
#74C287
accent
#DF6E49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA308C

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

Preview Lab → · Contrast checker → · Palette generator →

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