#AA248D#AA248D

#AA248D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.6% C 0.199 H 338.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA248D
RGBrgb(170, 36, 141)
HSLhsl(313, 65%, 40%)
HSVhsv(313, 79%, 67%)
CMYKcmyk(0%, 78.8%, 17.1%, 33.3%)
CIE-LABlab(40.79, 62.29, -26.64)
CIE-LCHlch(40.79, 67.75, 336.84°)
OKLaboklab(51.6% 0.1851 -0.0723)
OKLCHoklch(51.6% 0.199 338.7)
XYZxyz(22.0167, 11.7331, 26.2993)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA248D #24AA41
analogous
#8424AA #AA248D #AA244A
triadic
#AA248D #8DAA24 #248DAA
tetradic
#AA248D #AA8424 #24AA41 #244AAA
square
#AA248D #AA8424 #24AA41 #244AAA
split-complementary
#AA248D #4AAA24 #24AA84
monochromatic
#450F39 #771963 #AA248D #D537B2 #DF69C6

Accessibility & contrast

On white

6.28
#AA248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA248D
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA248D#FFFFFF#000000##FFFFFF
##AA248D1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#5A688A
Tritanopia (blue-blind)
#B42B57
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa248d;
/* rgb */ color: rgb(170, 36, 141);
/* oklch */ color: oklch(51.6% 0.199 338.7);
Tailwind
colors: {
  custom: {
    50: '#c76fae',
    500: '#aa248d',
    950: '#000000',
  },
}
SCSS
$custom: #aa248d;
$custom-light: #c76fae;
$custom-dark: #000000;
JSON
{
  "hex": "#aa248d",
  "rgb": {
    "r": 170,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 312.985,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51598,
    "c": 0.1987,
    "h": 338.7
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#AA248D
secondary
#65C579
accent
#E86440
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA248D

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

Preview Lab → · Contrast checker → · Palette generator →

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