#AA138E#AA138E

#AA138E is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.7% C 0.212 H 338.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AA138E
RGBrgb(170, 19, 142)
HSLhsl(311, 80%, 37%)
HSVhsv(311, 89%, 67%)
CMYKcmyk(0%, 88.8%, 16.5%, 33.3%)
CIE-LABlab(39.52, 66.23, -29.23)
CIE-LCHlch(39.52, 72.40, 336.19°)
OKLaboklab(50.71% 0.1967 -0.0796)
OKLCHoklch(50.71% 0.212 338)
XYZxyz(21.6935, 10.9670, 26.5603)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA138E #13AA2F
analogous
#7B13AA #AA138E #AA1342
triadic
#AA138E #8EAA13 #138EAA
tetradic
#AA138E #AA7B13 #13AA2F #1342AA
square
#AA138E #AA7B13 #13AA2F #1342AA
split-complementary
#AA138E #42AA13 #13AA7B
monochromatic
#3C0732 #730D60 #AA138E #E119BC #EB4CCE

Accessibility & contrast

On white

6.58
#AA138E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AA138E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA138E
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA138E#FFFFFF#000000##FFFFFF
##AA138E1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#55658B
Tritanopia (blue-blind)
#B42054
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #aa138e;
/* rgb */ color: rgb(170, 19, 142);
/* oklch */ color: oklch(50.7% 0.212 338.0);
Tailwind
colors: {
  custom: {
    50: '#c86aaf',
    500: '#aa138e',
    950: '#000000',
  },
}
SCSS
$custom: #aa138e;
$custom-light: #c86aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa138e",
  "rgb": {
    "r": 170,
    "g": 19,
    "b": 142
  },
  "hsl": {
    "h": 311.126,
    "s": 79.894,
    "l": 37.059
  },
  "oklch": {
    "l": 0.50708,
    "c": 0.21215,
    "h": 338
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#AA138E
secondary
#4CCC64
accent
#F65631
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #AA138E

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

Preview Lab → · Contrast checker → · Palette generator →

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