#AA2F6D#AA2F6D

#AA2F6D is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.169 H 353.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AA2F6D
RGBrgb(170, 47, 109)
HSLhsl(330, 57%, 43%)
HSVhsv(330, 72%, 67%)
CMYKcmyk(0%, 72.4%, 35.9%, 33.3%)
CIE-LABlab(40.71, 54.70, -6.98)
CIE-LCHlch(40.71, 55.14, 352.73°)
OKLaboklab(51.11% 0.1676 -0.0178)
OKLCHoklch(51.11% 0.169 353.9)
XYZxyz(20.3556, 11.6856, 15.6486)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F6D #2FAA6C
analogous
#A92FAA #AA2F6D #AA2F30
triadic
#AA2F6D #6DAA2F #2F6DAA
tetradic
#AA2F6D #AAA92F #2FAA6C #2F30AA
square
#AA2F6D #AAA92F #2FAA6C #2F30AA
split-complementary
#AA2F6D #30AA2F #2FAAA9
monochromatic
#4A1430 #7A224E #AA2F6D #CD498C #DA79AA

Accessibility & contrast

On white

6.29
#AA2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AA2F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F6D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F6D#FFFFFF#000000##FFFFFF
##AA2F6D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45526F
Deuteranopia (green-blind)
#68686A
Tritanopia (blue-blind)
#B7244A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2f6d;
/* rgb */ color: rgb(170, 47, 109);
/* oklch */ color: oklch(51.1% 0.169 353.9);
Tailwind
colors: {
  custom: {
    50: '#c87296',
    500: '#aa2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f6d;
$custom-light: #c87296;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f6d",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 329.756,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.16854,
    "h": 353.9
  },
  "luminance": 0.11683
}

Semantic roles & 50–950 ramp

primary
#AA2F6D
secondary
#72C29A
accent
#E09348
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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