#AA258F#AA258F

#AA258F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.199 H 337.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA258F
RGBrgb(170, 37, 143)
HSLhsl(312, 64%, 41%)
HSVhsv(312, 78%, 67%)
CMYKcmyk(0%, 78.2%, 15.9%, 33.3%)
CIE-LABlab(40.98, 62.29, -27.56)
CIE-LCHlch(40.98, 68.11, 336.14°)
OKLaboklab(51.77% 0.1845 -0.0749)
OKLCHoklch(51.77% 0.199 337.9)
XYZxyz(22.1976, 11.8545, 27.1004)
Luminance0.1185 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA258F #25AA40
analogous
#8225AA #AA258F #AA254D
triadic
#AA258F #8FAA25 #258FAA
tetradic
#AA258F #AA8225 #25AA40 #254DAA
square
#AA258F #AA8225 #25AA40 #254DAA
split-complementary
#AA258F #4DAA25 #25AA82
monochromatic
#450F3A #781A65 #AA258F #D438B4 #DF6BC7

Accessibility & contrast

On white

6.23
#AA258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AA258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA258F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA258F#FFFFFF#000000##FFFFFF
##AA258F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5492
Deuteranopia (green-blind)
#59688C
Tritanopia (blue-blind)
#B42D58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa258f;
/* rgb */ color: rgb(170, 37, 143);
/* oklch */ color: oklch(51.8% 0.199 337.9);
Tailwind
colors: {
  custom: {
    50: '#c76fb0',
    500: '#aa258f',
    950: '#000000',
  },
}
SCSS
$custom: #aa258f;
$custom-light: #c76fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa258f",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 312.18,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.19907,
    "h": 337.9
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#AA258F
secondary
#66C579
accent
#E76241
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA258F

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

Preview Lab → · Contrast checker → · Palette generator →

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