#AA2895#AA2895

#AA2895 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.200 H 335.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AA2895
RGBrgb(170, 40, 149)
HSLhsl(310, 62%, 41%)
HSVhsv(310, 76%, 67%)
CMYKcmyk(0%, 76.5%, 12.4%, 33.3%)
CIE-LABlab(41.59, 62.27, -30.26)
CIE-LCHlch(41.59, 69.23, 334.09°)
OKLaboklab(52.3% 0.1823 -0.0826)
OKLCHoklch(52.3% 0.2 335.6)
XYZxyz(22.7615, 12.2356, 29.5909)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2895 #28AA3D
analogous
#7E28AA #AA2895 #AA2854
triadic
#AA2895 #95AA28 #2895AA
tetradic
#AA2895 #AA7E28 #28AA3D #2854AA
square
#AA2895 #AA7E28 #28AA3D #2854AA
split-complementary
#AA2895 #54AA28 #28AA7E
monochromatic
#47113E #781C6A #AA2895 #D23EBA #DD6FCB

Accessibility & contrast

On white

6.09
#AA2895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2895
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2895#FFFFFF#000000##FFFFFF
##AA28951.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295698
Deuteranopia (green-blind)
#586992
Tritanopia (blue-blind)
#B3335C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2895;
/* rgb */ color: rgb(170, 40, 149);
/* oklch */ color: oklch(52.3% 0.200 335.6);
Tailwind
colors: {
  custom: {
    50: '#c770b4',
    500: '#aa2895',
    950: '#000000',
  },
}
SCSS
$custom: #aa2895;
$custom-light: #c770b4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2895",
  "rgb": {
    "r": 170,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 309.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52301,
    "c": 0.20019,
    "h": 335.6
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#AA2895
secondary
#6AC478
accent
#E55D43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2895

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

Preview Lab → · Contrast checker → · Palette generator →

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