#AA2998#AA2998

#AA2998 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.5% C 0.201 H 334.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AA2998
RGBrgb(170, 41, 152)
HSLhsl(308, 61%, 41%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 75.9%, 10.6%, 33.3%)
CIE-LABlab(41.85, 62.41, -31.67)
CIE-LCHlch(41.85, 69.99, 333.10°)
OKLaboklab(52.54% 0.1817 -0.0867)
OKLCHoklch(52.54% 0.201 334.5)
XYZxyz(23.0382, 12.4010, 30.8800)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2998 #29AA3B
analogous
#7C29AA #AA2998 #AA2958
triadic
#AA2998 #98AA29 #2998AA
tetradic
#AA2998 #AA7C29 #29AA3B #2958AA
square
#AA2998 #AA7C29 #29AA3B #2958AA
split-complementary
#AA2998 #58AA29 #29AA7C
monochromatic
#471140 #791D6C #AA2998 #D13FBD #DD71CE

Accessibility & contrast

On white

6.03
#AA2998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AA2998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2998
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2998#FFFFFF#000000##FFFFFF
##AA29981.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#576995
Tritanopia (blue-blind)
#B2355E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2998;
/* rgb */ color: rgb(170, 41, 152);
/* oklch */ color: oklch(52.5% 0.201 334.5);
Tailwind
colors: {
  custom: {
    50: '#c771b6',
    500: '#aa2998',
    950: '#000000',
  },
}
SCSS
$custom: #aa2998;
$custom-light: #c771b6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2998",
  "rgb": {
    "r": 170,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 308.372,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.20128,
    "h": 334.5
  },
  "luminance": 0.12399
}

Semantic roles & 50–950 ramp

primary
#AA2998
secondary
#6BC477
accent
#E45A44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AA2998

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

Preview Lab → · Contrast checker → · Palette generator →

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