#AA2F6E#AA2F6E

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

Color values

HEX#AA2F6E
RGBrgb(170, 47, 110)
HSLhsl(329, 57%, 43%)
HSVhsv(329, 72%, 67%)
CMYKcmyk(0%, 72.4%, 35.3%, 33.3%)
CIE-LABlab(40.75, 54.81, -7.55)
CIE-LCHlch(40.75, 55.33, 352.15°)
OKLaboklab(51.15% 0.1679 -0.0193)
OKLCHoklch(51.15% 0.169 353.4)
XYZxyz(20.4098, 11.7073, 15.9338)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F6E #2FAA6B
analogous
#A82FAA #AA2F6E #AA2F31
triadic
#AA2F6E #6EAA2F #2F6EAA
tetradic
#AA2F6E #AAA82F #2FAA6B #2F31AA
square
#AA2F6E #AAA82F #2FAA6B #2F31AA
split-complementary
#AA2F6E #31AA2F #2FAAA8
monochromatic
#4A1430 #7A224F #AA2F6E #CD498D #DA79AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA2F6E#FFFFFF#000000##FFFFFF
##AA2F6E1.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)
#455270
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#B7244A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa2f6e;
/* rgb */ color: rgb(170, 47, 110);
/* oklch */ color: oklch(51.1% 0.169 353.4);
Tailwind
colors: {
  custom: {
    50: '#c87297',
    500: '#aa2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f6e;
$custom-light: #c87297;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f6e",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 329.268,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51147,
    "c": 0.169,
    "h": 353.4
  },
  "luminance": 0.11705
}

Semantic roles & 50–950 ramp

primary
#AA2F6E
secondary
#72C299
accent
#E09248
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AA2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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