#AA2398#AA2398

#AA2398 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.207 H 334.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AA2398
RGBrgb(170, 35, 152)
HSLhsl(308, 66%, 40%)
HSVhsv(308, 79%, 67%)
CMYKcmyk(0%, 79.4%, 10.6%, 33.3%)
CIE-LABlab(41.24, 64.14, -32.62)
CIE-LCHlch(41.24, 71.96, 333.05°)
OKLaboklab(52.1% 0.1868 -0.0894)
OKLCHoklch(52.1% 0.207 334.4)
XYZxyz(22.8464, 12.0172, 30.8160)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2398 #23AA35
analogous
#7823AA #AA2398 #AA2354
triadic
#AA2398 #98AA23 #2398AA
tetradic
#AA2398 #AA7823 #23AA35 #2354AA
square
#AA2398 #AA7823 #23AA35 #2354AA
split-complementary
#AA2398 #54AA23 #23AA78
monochromatic
#440E3D #77196B #AA2398 #D535C0 #E068D0

Accessibility & contrast

On white

6.17
#AA2398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA2398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2398
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2398#FFFFFF#000000##FFFFFF
##AA23981.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#B2315D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa2398;
/* rgb */ color: rgb(170, 35, 152);
/* oklch */ color: oklch(52.1% 0.207 334.4);
Tailwind
colors: {
  custom: {
    50: '#c76fb7',
    500: '#aa2398',
    950: '#000000',
  },
}
SCSS
$custom: #aa2398;
$custom-light: #c76fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2398",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 308,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.52103,
    "c": 0.20706,
    "h": 334.4
  },
  "luminance": 0.12015
}

Semantic roles & 50–950 ramp

primary
#AA2398
secondary
#63C670
accent
#E9563F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AA2398

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

Preview Lab → · Contrast checker → · Palette generator →

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