#AA2E5F#AA2E5F

#AA2E5F is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.164 H 1.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AA2E5F
RGBrgb(170, 46, 95)
HSLhsl(336, 57%, 42%)
HSVhsv(336, 73%, 67%)
CMYKcmyk(0%, 72.9%, 44.1%, 33.3%)
CIE-LABlab(40.13, 53.57, 0.94)
CIE-LCHlch(40.13, 53.58, 1.01°)
OKLaboklab(50.53% 0.1642 0.0031)
OKLCHoklch(50.53% 0.164 1.1)
XYZxyz(19.6216, 11.3288, 11.9777)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2E5F #2EAA79
analogous
#AA2E9D #AA2E5F #AA3B2E
triadic
#AA2E5F #5FAA2E #2E5FAA
tetradic
#AA2E5F #9DAA2E #2EAA79 #3B2EAA
square
#AA2E5F #9DAA2E #2EAA79 #3B2EAA
split-complementary
#AA2E5F #2EAA3B #2E9DAA
monochromatic
#4A1429 #7A2144 #AA2E5F #CD487D #DA789F

Accessibility & contrast

On white

6.43
#AA2E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AA2E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2E5F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2E5F#FFFFFF#000000##FFFFFF
##AA2E5F1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#B81B43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2e5f;
/* rgb */ color: rgb(170, 46, 95);
/* oklch */ color: oklch(50.5% 0.164 1.1);
Tailwind
colors: {
  custom: {
    50: '#c8718c',
    500: '#aa2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2e5f;
$custom-light: #c8718c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2e5f",
  "rgb": {
    "r": 170,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 336.29,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50533,
    "c": 0.16426,
    "h": 1.1
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#AA2E5F
secondary
#71C3A2
accent
#E1A447
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #AA2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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