#AA2295#AA2295

#AA2295 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.206 H 335.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AA2295
RGBrgb(170, 34, 149)
HSLhsl(309, 67%, 40%)
HSVhsv(309, 80%, 67%)
CMYKcmyk(0%, 80%, 12.4%, 33.3%)
CIE-LABlab(41.00, 63.97, -31.19)
CIE-LCHlch(41.00, 71.17, 334.01°)
OKLaboklab(51.88% 0.1874 -0.0853)
OKLCHoklch(51.88% 0.206 335.5)
XYZxyz(22.5748, 11.8621, 29.5286)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2295 #22AA37
analogous
#7B22AA #AA2295 #AA2251
triadic
#AA2295 #95AA22 #2295AA
tetradic
#AA2295 #AA7B22 #22AA37 #2251AA
square
#AA2295 #AA7B22 #22AA37 #2251AA
split-complementary
#AA2295 #51AA22 #22AA7B
monochromatic
#440E3C #771868 #AA2295 #D633BD #E066CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2295#FFFFFF#000000##FFFFFF
##AA22951.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)
#235498
Deuteranopia (green-blind)
#566892
Tritanopia (blue-blind)
#B32E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2295;
/* rgb */ color: rgb(170, 34, 149);
/* oklch */ color: oklch(51.9% 0.206 335.5);
Tailwind
colors: {
  custom: {
    50: '#c76eb4',
    500: '#aa2295',
    950: '#000000',
  },
}
SCSS
$custom: #aa2295;
$custom-light: #c76eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2295",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 309.265,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.20587,
    "h": 335.5
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#AA2295
secondary
#62C671
accent
#EA593E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2295

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

Preview Lab → · Contrast checker → · Palette generator →

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