#AA1E8F#AA1E8F

#AA1E8F is a mid, highly saturated pink. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 337.8°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA1E8F
RGBrgb(170, 30, 143)
HSLhsl(312, 70%, 39%)
HSVhsv(312, 82%, 67%)
CMYKcmyk(0%, 82.4%, 15.9%, 33.3%)
CIE-LABlab(40.34, 64.13, -28.56)
CIE-LCHlch(40.34, 70.20, 336.00°)
OKLaboklab(51.31% 0.19 -0.0777)
OKLCHoklch(51.31% 0.205 337.8)
XYZxyz(22.0003, 11.4599, 27.0346)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA1E8F #1EAA39
analogous
#7F1EAA #AA1E8F #AA1E49
triadic
#AA1E8F #8FAA1E #1E8FAA
tetradic
#AA1E8F #AA7F1E #1EAA39 #1E49AA
square
#AA1E8F #AA7F1E #1EAA39 #1E49AA
split-complementary
#AA1E8F #49AA1E #1EAA7F
monochromatic
#420C37 #761563 #AA1E8F #DA2CB8 #E360CA

Accessibility & contrast

On white

6.38
#AA1E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AA1E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA1E8F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA1E8F#FFFFFF#000000##FFFFFF
##AA1E8F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255292
Deuteranopia (green-blind)
#57678C
Tritanopia (blue-blind)
#B42857
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa1e8f;
/* rgb */ color: rgb(170, 30, 143);
/* oklch */ color: oklch(51.3% 0.205 337.8);
Tailwind
colors: {
  custom: {
    50: '#c76db0',
    500: '#aa1e8f',
    950: '#000000',
  },
}
SCSS
$custom: #aa1e8f;
$custom-light: #c76db0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa1e8f",
  "rgb": {
    "r": 170,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 311.571,
    "s": 70,
    "l": 39.216
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.20526,
    "h": 337.8
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#AA1E8F
secondary
#5CC771
accent
#ED5D3B
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA1E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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