#AA2B8F#AA2B8F

#AA2B8F is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.193 H 338.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AA2B8F
RGBrgb(170, 43, 143)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 74.7%, 15.9%, 33.3%)
CIE-LABlab(41.63, 60.46, -26.56)
CIE-LCHlch(41.63, 66.04, 336.29°)
OKLaboklab(52.23% 0.1789 -0.0721)
OKLCHoklch(52.23% 0.193 338.1)
XYZxyz(22.3999, 12.2591, 27.1678)
Luminance0.1226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8F #2BAA46
analogous
#862BAA #AA2B8F #AA2B50
triadic
#AA2B8F #8FAA2B #2B8FAA
tetradic
#AA2B8F #AA862B #2BAA46 #2B50AA
square
#AA2B8F #AA862B #2BAA46 #2B50AA
split-complementary
#AA2B8F #50AA2B #2BAA86
monochromatic
#48123D #791F66 #AA2B8F #CF43B2 #DC74C6

Accessibility & contrast

On white

6.08
#AA2B8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AA2B8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA2B8F
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8F#FFFFFF#000000##FFFFFF
##AA2B8F1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#5C698C
Tritanopia (blue-blind)
#B4325A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2b8f;
/* rgb */ color: rgb(170, 43, 143);
/* oklch */ color: oklch(52.2% 0.193 338.1);
Tailwind
colors: {
  custom: {
    50: '#c771b0',
    500: '#aa2b8f',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8f;
$custom-light: #c771b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8f",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 312.756,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.19291,
    "h": 338.1
  },
  "luminance": 0.12257
}

Semantic roles & 50–950 ramp

primary
#AA2B8F
secondary
#6EC380
accent
#E36745
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AA2B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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