#AA258A#AA258A

#AA258A is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.5% C 0.196 H 339.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AA258A
RGBrgb(170, 37, 138)
HSLhsl(314, 64%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 78.2%, 18.8%, 33.3%)
CIE-LABlab(40.75, 61.60, -24.88)
CIE-LCHlch(40.75, 66.43, 338.01°)
OKLaboklab(51.52% 0.1839 -0.0672)
OKLCHoklch(51.52% 0.196 339.9)
XYZxyz(21.8272, 11.7064, 25.1499)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA258A #25AA45
analogous
#8725AA #AA258A #AA2547
triadic
#AA258A #8AAA25 #258AAA
tetradic
#AA258A #AA8725 #25AA45 #2547AA
square
#AA258A #AA8725 #25AA45 #2547AA
split-complementary
#AA258A #47AA25 #25AA87
monochromatic
#450F38 #781A61 #AA258A #D438AE #DF6BC3

Accessibility & contrast

On white

6.29
#AA258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA258A
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA258A#FFFFFF#000000##FFFFFF
##AA258A1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#5B6887
Tritanopia (blue-blind)
#B42A55
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa258a;
/* rgb */ color: rgb(170, 37, 138);
/* oklch */ color: oklch(51.5% 0.196 339.9);
Tailwind
colors: {
  custom: {
    50: '#c76fac',
    500: '#aa258a',
    950: '#000000',
  },
}
SCSS
$custom: #aa258a;
$custom-light: #c76fac;
$custom-dark: #000000;
JSON
{
  "hex": "#aa258a",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 314.436,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51521,
    "c": 0.19579,
    "h": 339.9
  },
  "luminance": 0.11704
}

Semantic roles & 50–950 ramp

primary
#AA258A
secondary
#66C57D
accent
#E76941
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA258A

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

Preview Lab → · Contrast checker → · Palette generator →

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