#AA2B8E#AA2B8E

#AA2B8E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.192 H 338.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AA2B8E
RGBrgb(170, 43, 142)
HSLhsl(313, 60%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 74.7%, 16.5%, 33.3%)
CIE-LABlab(41.58, 60.32, -26.02)
CIE-LCHlch(41.58, 65.69, 336.66°)
OKLaboklab(52.18% 0.1788 -0.0705)
OKLCHoklch(52.18% 0.192 338.5)
XYZxyz(22.3244, 12.2289, 26.7706)
Luminance0.1223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA2B8E #2BAA47
analogous
#872BAA #AA2B8E #AA2B4F
triadic
#AA2B8E #8EAA2B #2B8EAA
tetradic
#AA2B8E #AA872B #2BAA47 #2B4FAA
square
#AA2B8E #AA872B #2BAA47 #2B4FAA
split-complementary
#AA2B8E #4FAA2B #2BAA87
monochromatic
#48123C #791F65 #AA2B8E #CF43B0 #DC74C5

Accessibility & contrast

On white

6.10
#AA2B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA2B8E
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA2B8E#FFFFFF#000000##FFFFFF
##AA2B8E1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#B43159
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #aa2b8e;
/* rgb */ color: rgb(170, 43, 142);
/* oklch */ color: oklch(52.2% 0.192 338.5);
Tailwind
colors: {
  custom: {
    50: '#c771af',
    500: '#aa2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #aa2b8e;
$custom-light: #c771af;
$custom-dark: #000000;
JSON
{
  "hex": "#aa2b8e",
  "rgb": {
    "r": 170,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 313.228,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.19223,
    "h": 338.5
  },
  "luminance": 0.12227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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