#AA278F#AA278F

#AA278F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.197 H 338.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AA278F
RGBrgb(170, 39, 143)
HSLhsl(312, 63%, 41%)
HSVhsv(312, 77%, 67%)
CMYKcmyk(0%, 77.1%, 15.9%, 33.3%)
CIE-LABlab(41.19, 61.71, -27.24)
CIE-LCHlch(41.19, 67.45, 336.18°)
OKLaboklab(51.92% 0.1827 -0.074)
OKLCHoklch(51.92% 0.197 338)
XYZxyz(22.2615, 11.9824, 27.1217)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA278F #27AA42
analogous
#8327AA #AA278F #AA274E
triadic
#AA278F #8FAA27 #278FAA
tetradic
#AA278F #AA8327 #27AA42 #274EAA
square
#AA278F #AA8327 #27AA42 #274EAA
split-complementary
#AA278F #4EAA27 #27AA83
monochromatic
#46103B #781C65 #AA278F #D23CB3 #DE6EC7

Accessibility & contrast

On white

6.18
#AA278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AA278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA278F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA278F#FFFFFF#000000##FFFFFF
##AA278F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5492
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#B42F59
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #aa278f;
/* rgb */ color: rgb(170, 39, 143);
/* oklch */ color: oklch(51.9% 0.197 338.0);
Tailwind
colors: {
  custom: {
    50: '#c770b0',
    500: '#aa278f',
    950: '#000000',
  },
}
SCSS
$custom: #aa278f;
$custom-light: #c770b0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa278f",
  "rgb": {
    "r": 170,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 312.366,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51917,
    "c": 0.1971,
    "h": 338
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#AA278F
secondary
#69C47B
accent
#E66442
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AA278F

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

Preview Lab → · Contrast checker → · Palette generator →

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