#AA258B#AA258B

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

Color values

HEX#AA258B
RGBrgb(170, 37, 139)
HSLhsl(314, 64%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 78.2%, 18.2%, 33.3%)
CIE-LABlab(40.79, 61.73, -25.41)
CIE-LCHlch(40.79, 66.76, 337.62°)
OKLaboklab(51.57% 0.184 -0.0688)
OKLCHoklch(51.57% 0.196 339.5)
XYZxyz(21.8999, 11.7355, 25.5329)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA258B #25AA44
analogous
#8625AA #AA258B #AA2548
triadic
#AA258B #8BAA25 #258BAA
tetradic
#AA258B #AA8625 #25AA44 #2548AA
square
#AA258B #AA8625 #25AA44 #2548AA
split-complementary
#AA258B #48AA25 #25AA86
monochromatic
#450F39 #781A62 #AA258B #D438B0 #DF6BC4

Accessibility & contrast

On white

6.28
#AA258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA258B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA258B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA258B#FFFFFF#000000##FFFFFF
##AA258B1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#5B6888
Tritanopia (blue-blind)
#B42B56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa258b;
/* rgb */ color: rgb(170, 37, 139);
/* oklch */ color: oklch(51.6% 0.196 339.5);
Tailwind
colors: {
  custom: {
    50: '#c76fad',
    500: '#aa258b',
    950: '#000000',
  },
}
SCSS
$custom: #aa258b;
$custom-light: #c76fad;
$custom-dark: #000000;
JSON
{
  "hex": "#aa258b",
  "rgb": {
    "r": 170,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 313.985,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5157,
    "c": 0.19644,
    "h": 339.5
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#AA258B
secondary
#66C57C
accent
#E76741
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA258B

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

Preview Lab → · Contrast checker → · Palette generator →

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