#AA315B#AA315B

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

Color values

HEX#AA315B
RGBrgb(170, 49, 91)
HSLhsl(339, 55%, 43%)
HSVhsv(339, 71%, 67%)
CMYKcmyk(0%, 71.2%, 46.5%, 33.3%)
CIE-LABlab(40.41, 52.08, 3.87)
CIE-LCHlch(40.41, 52.22, 4.25°)
OKLaboklab(50.7% 0.1593 0.0105)
OKLCHoklch(50.7% 0.16 3.8)
XYZxyz(19.5657, 11.5005, 11.0850)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA315B #31AA80
analogous
#AA3197 #AA315B #AA4431
triadic
#AA315B #5BAA31 #315BAA
tetradic
#AA315B #97AA31 #31AA80 #4431AA
square
#AA315B #97AA31 #31AA80 #4431AA
split-complementary
#AA315B #31AA44 #3197AA
monochromatic
#4B1628 #7A2342 #AA315B #CC4D79 #D97C9C

Accessibility & contrast

On white

6.36
#AA315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AA315B
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA315B#FFFFFF#000000##FFFFFF
##AA315B1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa315b;
/* rgb */ color: rgb(170, 49, 91);
/* oklch */ color: oklch(50.7% 0.160 3.8);
Tailwind
colors: {
  custom: {
    50: '#c87289',
    500: '#aa315b',
    950: '#000000',
  },
}
SCSS
$custom: #aa315b;
$custom-light: #c87289;
$custom-dark: #000000;
JSON
{
  "hex": "#aa315b",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 339.174,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.15961,
    "h": 3.8
  },
  "luminance": 0.11498
}

Semantic roles & 50–950 ramp

primary
#AA315B
secondary
#75C2A7
accent
#DFAB49
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AA315B

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

Preview Lab → · Contrast checker → · Palette generator →

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