#AA2B7D#AA2B7D

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

Color values

HEX#AA2B7D
RGBrgb(170, 43, 125)
HSLhsl(321, 60%, 42%)
HSVhsv(321, 75%, 67%)
CMYKcmyk(0%, 74.7%, 26.5%, 33.3%)
CIE-LABlab(40.83, 58.02, -16.75)
CIE-LCHlch(40.83, 60.39, 343.89°)
OKLaboklab(51.39% 0.176 -0.0445)
OKLCHoklch(51.39% 0.182 345.8)
XYZxyz(21.1440, 11.7568, 20.5538)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B7D #2BAA58
analogous
#982BAA #AA2B7D #AA2B3E
triadic
#AA2B7D #7DAA2B #2B7DAA
tetradic
#AA2B7D #AA982B #2BAA58 #2B3EAA
square
#AA2B7D #AA982B #2BAA58 #2B3EAA
split-complementary
#AA2B7D #3EAA2B #2BAA98
monochromatic
#481235 #791F59 #AA2B7D #CF439E #DC74B7

Accessibility & contrast

On white

6.27
#AA2B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA2B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B7D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B7D#FFFFFF#000000##FFFFFF
##AA2B7D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527F
Deuteranopia (green-blind)
#62687A
Tritanopia (blue-blind)
#B62850
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2b7d;
/* rgb */ color: rgb(170, 43, 125);
/* oklch */ color: oklch(51.4% 0.182 345.8);
Tailwind
colors: {
  custom: {
    50: '#c771a2',
    500: '#aa2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b7d;
$custom-light: #c771a2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b7d",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 321.26,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51393,
    "c": 0.18152,
    "h": 345.8
  },
  "luminance": 0.11754
}

Semantic roles & 50–950 ramp

primary
#AA2B7D
secondary
#6EC38C
accent
#E37D45
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AA2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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