#AA2B7E#AA2B7E

#AA2B7E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.182 H 345.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AA2B7E
RGBrgb(170, 43, 126)
HSLhsl(321, 60%, 42%)
HSVhsv(321, 75%, 67%)
CMYKcmyk(0%, 74.7%, 25.9%, 33.3%)
CIE-LABlab(40.87, 58.14, -17.31)
CIE-LCHlch(40.87, 60.67, 343.42°)
OKLaboklab(51.44% 0.1762 -0.046)
OKLCHoklch(51.44% 0.182 345.4)
XYZxyz(21.2082, 11.7825, 20.8920)
Luminance0.1178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B7E #2BAA57
analogous
#962BAA #AA2B7E #AA2B3F
triadic
#AA2B7E #7EAA2B #2B7EAA
tetradic
#AA2B7E #AA962B #2BAA57 #2B3FAA
square
#AA2B7E #AA962B #2BAA57 #2B3FAA
split-complementary
#AA2B7E #3FAA2B #2BAA96
monochromatic
#481236 #791F5A #AA2B7E #CF439F #DC74B8

Accessibility & contrast

On white

6.26
#AA2B7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AA2B7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B7E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B7E#FFFFFF#000000##FFFFFF
##AA2B7E1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#62687B
Tritanopia (blue-blind)
#B62951
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2b7e;
/* rgb */ color: rgb(170, 43, 126);
/* oklch */ color: oklch(51.4% 0.182 345.4);
Tailwind
colors: {
  custom: {
    50: '#c771a3',
    500: '#aa2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b7e;
$custom-light: #c771a3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b7e",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 320.787,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51437,
    "c": 0.1821,
    "h": 345.4
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#AA2B7E
secondary
#6EC38B
accent
#E37C45
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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