#AA258D#AA258D

#AA258D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 338.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AA258D
RGBrgb(170, 37, 141)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 78.2%, 17.1%, 33.3%)
CIE-LABlab(40.89, 62.01, -26.49)
CIE-LCHlch(40.89, 67.43, 336.87°)
OKLaboklab(51.67% 0.1842 -0.0718)
OKLCHoklch(51.67% 0.198 338.7)
XYZxyz(22.0474, 11.7944, 26.3096)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA258D #25AA42
analogous
#8425AA #AA258D #AA254A
triadic
#AA258D #8DAA25 #258DAA
tetradic
#AA258D #AA8425 #25AA42 #254AAA
square
#AA258D #AA8425 #25AA42 #254AAA
split-complementary
#AA258D #4AAA25 #25AA84
monochromatic
#450F3A #781A63 #AA258D #D438B2 #DF6BC5

Accessibility & contrast

On white

6.25
#AA258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA258D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA258D#FFFFFF#000000##FFFFFF
##AA258D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5390
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#B42C57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa258d;
/* rgb */ color: rgb(170, 37, 141);
/* oklch */ color: oklch(51.7% 0.198 338.7);
Tailwind
colors: {
  custom: {
    50: '#c76fae',
    500: '#aa258d',
    950: '#000000',
  },
}
SCSS
$custom: #aa258d;
$custom-light: #c76fae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa258d",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 313.083,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51669,
    "c": 0.19775,
    "h": 338.7
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#AA258D
secondary
#66C57B
accent
#E76541
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA258D

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

Preview Lab → · Contrast checker → · Palette generator →

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