#AA308F#AA308F

#AA308F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.187 H 338.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AA308F
RGBrgb(170, 48, 143)
HSLhsl(313, 56%, 43%)
HSVhsv(313, 72%, 67%)
CMYKcmyk(0%, 71.8%, 15.9%, 33.3%)
CIE-LABlab(42.22, 58.76, -25.62)
CIE-LCHlch(42.22, 64.11, 336.44°)
OKLaboklab(52.67% 0.1739 -0.0694)
OKLCHoklch(52.67% 0.187 338.2)
XYZxyz(22.5929, 12.6452, 27.2322)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA308F #30AA4B
analogous
#8830AA #AA308F #AA3052
triadic
#AA308F #8FAA30 #308FAA
tetradic
#AA308F #AA8830 #30AA4B #3052AA
square
#AA308F #AA8830 #30AA4B #3052AA
split-complementary
#AA308F #52AA30 #30AA88
monochromatic
#4B153F #7A2367 #AA308F #CC4BB0 #DA7BC5

Accessibility & contrast

On white

5.95
#AA308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AA308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA308F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA308F#FFFFFF#000000##FFFFFF
##AA308F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355892
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B3365B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa308f;
/* rgb */ color: rgb(170, 48, 143);
/* oklch */ color: oklch(52.7% 0.187 338.2);
Tailwind
colors: {
  custom: {
    50: '#c774b0',
    500: '#aa308f',
    950: '#000000',
  },
}
SCSS
$custom: #aa308f;
$custom-light: #c774b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa308f",
  "rgb": {
    "r": 170,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 313.279,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.18721,
    "h": 338.2
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#AA308F
secondary
#74C285
accent
#DF6A49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AA308F

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

Preview Lab → · Contrast checker → · Palette generator →

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