#AA238F#AA238F

#AA238F is a mid, highly saturated pink. Relative luminance 0.117; OKLCH L 51.6% C 0.201 H 337.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AA238F
RGBrgb(170, 35, 143)
HSLhsl(312, 66%, 40%)
HSVhsv(312, 79%, 67%)
CMYKcmyk(0%, 79.4%, 15.9%, 33.3%)
CIE-LABlab(40.79, 62.85, -27.86)
CIE-LCHlch(40.79, 68.75, 336.09°)
OKLaboklab(51.63% 0.1861 -0.0757)
OKLCHoklch(51.63% 0.201 337.9)
XYZxyz(22.1370, 11.7334, 27.0802)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA238F #23AA3E
analogous
#8123AA #AA238F #AA234B
triadic
#AA238F #8FAA23 #238FAA
tetradic
#AA238F #AA8123 #23AA3E #234BAA
square
#AA238F #AA8123 #23AA3E #234BAA
split-complementary
#AA238F #4BAA23 #23AA81
monochromatic
#440E3A #771964 #AA238F #D535B5 #E068C8

Accessibility & contrast

On white

6.28
#AA238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AA238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA238F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA238F#FFFFFF#000000##FFFFFF
##AA238F1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#59678C
Tritanopia (blue-blind)
#B42B58
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #aa238f;
/* rgb */ color: rgb(170, 35, 143);
/* oklch */ color: oklch(51.6% 0.201 337.9);
Tailwind
colors: {
  custom: {
    50: '#c76eb0',
    500: '#aa238f',
    950: '#000000',
  },
}
SCSS
$custom: #aa238f;
$custom-light: #c76eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa238f",
  "rgb": {
    "r": 170,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 312,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.20095,
    "h": 337.9
  },
  "luminance": 0.11731
}

Semantic roles & 50–950 ramp

primary
#AA238F
secondary
#63C677
accent
#E9613F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA238F

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

Preview Lab → · Contrast checker → · Palette generator →

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