#AA2257#AA2257

#AA2257 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.174 H 3.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#AA2257
RGBrgb(170, 34, 87)
HSLhsl(337, 67%, 40%)
HSVhsv(337, 80%, 67%)
CMYKcmyk(0%, 80%, 48.8%, 33.3%)
CIE-LABlab(38.52, 56.70, 3.69)
CIE-LCHlch(38.52, 56.82, 3.72°)
OKLaboklab(49.27% 0.1739 0.01)
OKLCHoklch(49.27% 0.174 3.3)
XYZxyz(18.8715, 10.3808, 10.0250)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2257 #22AA75
analogous
#AA229B #AA2257 #AA3122
triadic
#AA2257 #57AA22 #2257AA
tetradic
#AA2257 #9BAA22 #22AA75 #3122AA
square
#AA2257 #9BAA22 #22AA75 #3122AA
split-complementary
#AA2257 #22AA31 #229BAA
monochromatic
#440E23 #77183D #AA2257 #D63373 #E06696

Accessibility & contrast

On white

6.83
#AA2257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AA2257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2257
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2257#FFFFFF#000000##FFFFFF
##AA22571.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A58
Deuteranopia (green-blind)
#686454
Tritanopia (blue-blind)
#B9003A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #aa2257;
/* rgb */ color: rgb(170, 34, 87);
/* oklch */ color: oklch(49.3% 0.174 3.3);
Tailwind
colors: {
  custom: {
    50: '#c96c86',
    500: '#aa2257',
    950: '#000000',
  },
}
SCSS
$custom: #aa2257;
$custom-light: #c96c86;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2257",
  "rgb": {
    "r": 170,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 336.618,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.17414,
    "h": 3.3
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#AA2257
secondary
#62C69F
accent
#EAA73E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AA2257

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

Preview Lab → · Contrast checker → · Palette generator →

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