#AA2157#AA2157

#AA2157 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.2% C 0.175 H 3.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#AA2157
RGBrgb(170, 33, 87)
HSLhsl(336, 67%, 40%)
HSVhsv(336, 81%, 67%)
CMYKcmyk(0%, 80.6%, 48.8%, 33.3%)
CIE-LABlab(38.42, 56.99, 3.54)
CIE-LCHlch(38.42, 57.10, 3.56°)
OKLaboklab(49.2% 0.1748 0.0097)
OKLCHoklch(49.2% 0.175 3.2)
XYZxyz(18.8434, 10.3245, 10.0156)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2157 #21AA74
analogous
#AA219C #AA2157 #AA2F21
triadic
#AA2157 #57AA21 #2157AA
tetradic
#AA2157 #9CAA21 #21AA74 #2F21AA
square
#AA2157 #9CAA21 #21AA74 #2F21AA
split-complementary
#AA2157 #21AA2F #219CAA
monochromatic
#430D23 #77173D #AA2157 #D73173 #E16496

Accessibility & contrast

On white

6.85
#AA2157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#AA2157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2157
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2157#FFFFFF#000000##FFFFFF
##AA21571.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444958
Deuteranopia (green-blind)
#686454
Tritanopia (blue-blind)
#B90039
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #aa2157;
/* rgb */ color: rgb(170, 33, 87);
/* oklch */ color: oklch(49.2% 0.175 3.2);
Tailwind
colors: {
  custom: {
    50: '#c96c86',
    500: '#aa2157',
    950: '#000000',
  },
}
SCSS
$custom: #aa2157;
$custom-light: #c96c86;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2157",
  "rgb": {
    "r": 170,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 336.35,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49198,
    "c": 0.17503,
    "h": 3.2
  },
  "luminance": 0.10322
}

Semantic roles & 50–950 ramp

primary
#AA2157
secondary
#61C69E
accent
#EAA63D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AA2157

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

Preview Lab → · Contrast checker → · Palette generator →

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