#AA2F5E#AA2F5E

#AA2F5E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.163 H 1.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AA2F5E
RGBrgb(170, 47, 94)
HSLhsl(337, 57%, 43%)
HSVhsv(337, 72%, 67%)
CMYKcmyk(0%, 72.4%, 44.7%, 33.3%)
CIE-LABlab(40.23, 53.11, 1.72)
CIE-LCHlch(40.23, 53.14, 1.85°)
OKLaboklab(50.6% 0.1627 0.005)
OKLCHoklch(50.6% 0.163 1.8)
XYZxyz(19.6160, 11.3897, 11.7530)
Luminance0.1139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2F5E #2FAA7B
analogous
#AA2F9C #AA2F5E #AA3D2F
triadic
#AA2F5E #5EAA2F #2F5EAA
tetradic
#AA2F5E #9CAA2F #2FAA7B #3D2FAA
square
#AA2F5E #9CAA2F #2FAA7B #3D2FAA
split-complementary
#AA2F5E #2FAA3D #2F9CAA
monochromatic
#4A1429 #7A2243 #AA2F5E #CD497C #DA799E

Accessibility & contrast

On white

6.41
#AA2F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AA2F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2F5E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2F5E#FFFFFF#000000##FFFFFF
##AA2F5E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#6B675B
Tritanopia (blue-blind)
#B91C43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa2f5e;
/* rgb */ color: rgb(170, 47, 94);
/* oklch */ color: oklch(50.6% 0.163 1.8);
Tailwind
colors: {
  custom: {
    50: '#c8728b',
    500: '#aa2f5e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2f5e;
$custom-light: #c8728b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2f5e",
  "rgb": {
    "r": 170,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 337.073,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50597,
    "c": 0.1628,
    "h": 1.8
  },
  "luminance": 0.11387
}

Semantic roles & 50–950 ramp

primary
#AA2F5E
secondary
#72C2A4
accent
#E0A648
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080C
muted
#827B7D

Preview Lab

Preview with #AA2F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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