#AA315F#AA315F

#AA315F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.161 H 1.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AA315F
RGBrgb(170, 49, 95)
HSLhsl(337, 55%, 43%)
HSVhsv(337, 71%, 67%)
CMYKcmyk(0%, 71.2%, 44.1%, 33.3%)
CIE-LABlab(40.53, 52.47, 1.52)
CIE-LCHlch(40.53, 52.49, 1.66°)
OKLaboklab(50.83% 0.1607 0.0045)
OKLCHoklch(50.83% 0.161 1.6)
XYZxyz(19.7429, 11.5714, 12.0181)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA315F #31AA7C
analogous
#AA319B #AA315F #AA3F31
triadic
#AA315F #5FAA31 #315FAA
tetradic
#AA315F #9BAA31 #31AA7C #3F31AA
square
#AA315F #9BAA31 #31AA7C #3F31AA
split-complementary
#AA315F #31AA3F #319BAA
monochromatic
#4B162A #7A2344 #AA315F #CC4D7D #D97CA0

Accessibility & contrast

On white

6.34
#AA315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AA315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA315F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA315F#FFFFFF#000000##FFFFFF
##AA315F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5160
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#B81F44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa315f;
/* rgb */ color: rgb(170, 49, 95);
/* oklch */ color: oklch(50.8% 0.161 1.6);
Tailwind
colors: {
  custom: {
    50: '#c8738c',
    500: '#aa315f',
    950: '#000000',
  },
}
SCSS
$custom: #aa315f;
$custom-light: #c8738c;
$custom-dark: #000000;
JSON
{
  "hex": "#aa315f",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 337.19,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50826,
    "c": 0.16076,
    "h": 1.6
  },
  "luminance": 0.11569
}

Semantic roles & 50–950 ramp

primary
#AA315F
secondary
#75C2A5
accent
#DFA649
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AA315F

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

Preview Lab → · Contrast checker → · Palette generator →

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