#AA2297#AA2297

#AA2297 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 334.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AA2297
RGBrgb(170, 34, 151)
HSLhsl(308, 67%, 40%)
HSVhsv(308, 80%, 67%)
CMYKcmyk(0%, 80%, 11.2%, 33.3%)
CIE-LABlab(41.10, 64.26, -32.24)
CIE-LCHlch(41.10, 71.90, 333.36°)
OKLaboklab(51.98% 0.1875 -0.0883)
OKLCHoklch(51.98% 0.207 334.8)
XYZxyz(22.7358, 11.9265, 30.3768)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2297 #22AA35
analogous
#7922AA #AA2297 #AA2253
triadic
#AA2297 #97AA22 #2297AA
tetradic
#AA2297 #AA7922 #22AA35 #2253AA
square
#AA2297 #AA7922 #22AA35 #2253AA
split-complementary
#AA2297 #53AA22 #22AA79
monochromatic
#440E3C #77186A #AA2297 #D633BF #E066CF

Accessibility & contrast

On white

6.20
#AA2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AA2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2297
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2297#FFFFFF#000000##FFFFFF
##AA22971.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#556894
Tritanopia (blue-blind)
#B3305C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2297;
/* rgb */ color: rgb(170, 34, 151);
/* oklch */ color: oklch(52.0% 0.207 334.8);
Tailwind
colors: {
  custom: {
    50: '#c76eb6',
    500: '#aa2297',
    950: '#000000',
  },
}
SCSS
$custom: #aa2297;
$custom-light: #c76eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2297",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 308.382,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.51983,
    "c": 0.20724,
    "h": 334.8
  },
  "luminance": 0.11924
}

Semantic roles & 50–950 ramp

primary
#AA2297
secondary
#62C670
accent
#EA563E
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2297

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

Preview Lab → · Contrast checker → · Palette generator →

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