#AA236B#AA236B

#AA236B is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.180 H 353.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AA236B
RGBrgb(170, 35, 107)
HSLhsl(328, 66%, 40%)
HSVhsv(328, 79%, 67%)
CMYKcmyk(0%, 79.4%, 37.1%, 33.3%)
CIE-LABlab(39.26, 58.37, -7.90)
CIE-LCHlch(39.26, 58.90, 352.29°)
OKLaboklab(50.03% 0.1794 -0.0202)
OKLCHoklch(50.03% 0.18 353.6)
XYZxyz(19.8337, 10.8121, 14.9496)
Luminance0.1081 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA236B #23AA62
analogous
#A623AA #AA236B #AA2327
triadic
#AA236B #6BAA23 #236BAA
tetradic
#AA236B #AAA623 #23AA62 #2327AA
square
#AA236B #AAA623 #23AA62 #2327AA
split-complementary
#AA236B #27AA23 #23AAA6
monochromatic
#440E2B #77194B #AA236B #D5358A #E068A8

Accessibility & contrast

On white

6.64
#AA236B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AA236B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA236B
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA236B#FFFFFF#000000##FFFFFF
##AA236B1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4D6D
Deuteranopia (green-blind)
#646568
Tritanopia (blue-blind)
#B81244
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #aa236b;
/* rgb */ color: rgb(170, 35, 107);
/* oklch */ color: oklch(50.0% 0.180 353.6);
Tailwind
colors: {
  custom: {
    50: '#c86d95',
    500: '#aa236b',
    950: '#000000',
  },
}
SCSS
$custom: #aa236b;
$custom-light: #c86d95;
$custom-dark: #000000;
JSON
{
  "hex": "#aa236b",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 328,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50026,
    "c": 0.18049,
    "h": 353.6
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#AA236B
secondary
#63C691
accent
#E98E3F
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AA236B

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

Preview Lab → · Contrast checker → · Palette generator →

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