#AA315A#AA315A

#AA315A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.159 H 4.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AA315A
RGBrgb(170, 49, 90)
HSLhsl(340, 55%, 43%)
HSVhsv(340, 71%, 67%)
CMYKcmyk(0%, 71.2%, 47.1%, 33.3%)
CIE-LABlab(40.38, 51.98, 4.46)
CIE-LCHlch(40.38, 52.17, 4.91°)
OKLaboklab(50.67% 0.1589 0.012)
OKLCHoklch(50.67% 0.159 4.3)
XYZxyz(19.5229, 11.4834, 10.8593)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA315A #31AA81
analogous
#AA3197 #AA315A #AA4431
triadic
#AA315A #5AAA31 #315AAA
tetradic
#AA315A #97AA31 #31AA81 #4431AA
square
#AA315A #97AA31 #31AA81 #4431AA
split-complementary
#AA315A #31AA44 #3197AA
monochromatic
#4B1628 #7A2341 #AA315A #CC4D78 #D97C9C

Accessibility & contrast

On white

6.37
#AA315A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AA315A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA315A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA315A#FFFFFF#000000##FFFFFF
##AA315A1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505B
Deuteranopia (green-blind)
#6C6857
Tritanopia (blue-blind)
#B91D42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa315a;
/* rgb */ color: rgb(170, 49, 90);
/* oklch */ color: oklch(50.7% 0.159 4.3);
Tailwind
colors: {
  custom: {
    50: '#c87288',
    500: '#aa315a',
    950: '#000000',
  },
}
SCSS
$custom: #aa315a;
$custom-light: #c87288;
$custom-dark: #000000;
JSON
{
  "hex": "#aa315a",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 90
  },
  "hsl": {
    "h": 339.669,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50673,
    "c": 0.15935,
    "h": 4.3
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#AA315A
secondary
#75C2A8
accent
#DFAC49
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AA315A

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

Preview Lab → · Contrast checker → · Palette generator →

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