#AA3781#AA3781

#AA3781 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.169 H 344.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AA3781
RGBrgb(170, 55, 129)
HSLhsl(321, 51%, 44%)
HSVhsv(321, 68%, 67%)
CMYKcmyk(0%, 67.6%, 24.1%, 33.3%)
CIE-LABlab(42.56, 54.15, -16.56)
CIE-LCHlch(42.56, 56.62, 342.99°)
OKLaboklab(52.71% 0.1633 -0.044)
OKLCHoklch(52.71% 0.169 344.9)
XYZxyz(21.9070, 12.8656, 22.0942)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3781 #37AA60
analogous
#9A37AA #AA3781 #AA3748
triadic
#AA3781 #81AA37 #3781AA
tetradic
#AA3781 #AA9A37 #37AA60 #3748AA
square
#AA3781 #AA9A37 #37AA60 #3748AA
split-complementary
#AA3781 #48AA37 #37AA9A
monochromatic
#4E193B #7C285E #AA3781 #C856A0 #D784BA

Accessibility & contrast

On white

5.88
#AA3781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AA3781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3781
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3781#FFFFFF#000000##FFFFFF
##AA37811.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435883
Deuteranopia (green-blind)
#656C7E
Tritanopia (blue-blind)
#B53657
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #aa3781;
/* rgb */ color: rgb(170, 55, 129);
/* oklch */ color: oklch(52.7% 0.169 344.9);
Tailwind
colors: {
  custom: {
    50: '#c776a5',
    500: '#aa3781',
    950: '#000000',
  },
}
SCSS
$custom: #aa3781;
$custom-light: #c776a5;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3781",
  "rgb": {
    "r": 170,
    "g": 55,
    "b": 129
  },
  "hsl": {
    "h": 321.391,
    "s": 51.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52712,
    "c": 0.16913,
    "h": 344.9
  },
  "luminance": 0.12863
}

Semantic roles & 50–950 ramp

primary
#AA3781
secondary
#7CC194
accent
#DB804D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #AA3781

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

Preview Lab → · Contrast checker → · Palette generator →

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