#AA2E8F#AA2E8F

#AA2E8F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.190 H 338.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AA2E8F
RGBrgb(170, 46, 143)
HSLhsl(313, 57%, 42%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 72.9%, 15.9%, 33.3%)
CIE-LABlab(41.98, 59.46, -26.01)
CIE-LCHlch(41.98, 64.90, 336.38°)
OKLaboklab(52.49% 0.1759 -0.0705)
OKLCHoklch(52.49% 0.19 338.2)
XYZxyz(22.5130, 12.4853, 27.2055)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E8F #2EAA49
analogous
#872EAA #AA2E8F #AA2E51
triadic
#AA2E8F #8FAA2E #2E8FAA
tetradic
#AA2E8F #AA872E #2EAA49 #2E51AA
square
#AA2E8F #AA872E #2EAA49 #2E51AA
split-complementary
#AA2E8F #51AA2E #2EAA87
monochromatic
#4A143E #7A2166 #AA2E8F #CD48B0 #DA78C5

Accessibility & contrast

On white

6.01
#AA2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AA2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E8F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E8F#FFFFFF#000000##FFFFFF
##AA2E8F1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335792
Deuteranopia (green-blind)
#5D6A8C
Tritanopia (blue-blind)
#B3345B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #aa2e8f;
/* rgb */ color: rgb(170, 46, 143);
/* oklch */ color: oklch(52.5% 0.190 338.2);
Tailwind
colors: {
  custom: {
    50: '#c773b0',
    500: '#aa2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e8f;
$custom-light: #c773b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e8f",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 313.065,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.18955,
    "h": 338.2
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

primary
#AA2E8F
secondary
#71C383
accent
#E16947
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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