#AA315E#AA315E

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

Color values

HEX#AA315E
RGBrgb(170, 49, 94)
HSLhsl(338, 55%, 43%)
HSVhsv(338, 71%, 67%)
CMYKcmyk(0%, 71.2%, 44.7%, 33.3%)
CIE-LABlab(40.50, 52.37, 2.11)
CIE-LCHlch(40.50, 52.41, 2.31°)
OKLaboklab(50.8% 0.1604 0.006)
OKLCHoklch(50.8% 0.16 2.2)
XYZxyz(19.6978, 11.5533, 11.7802)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA315E #31AA7D
analogous
#AA319A #AA315E #AA4031
triadic
#AA315E #5EAA31 #315EAA
tetradic
#AA315E #9AAA31 #31AA7D #4031AA
square
#AA315E #9AAA31 #31AA7D #4031AA
split-complementary
#AA315E #31AA40 #319AAA
monochromatic
#4B1629 #7A2344 #AA315E #CC4D7C #D97C9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA315E#FFFFFF#000000##FFFFFF
##AA315E1.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)
#4B515F
Deuteranopia (green-blind)
#6C685B
Tritanopia (blue-blind)
#B91F44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa315e;
/* rgb */ color: rgb(170, 49, 94);
/* oklch */ color: oklch(50.8% 0.160 2.2);
Tailwind
colors: {
  custom: {
    50: '#c8728b',
    500: '#aa315e',
    950: '#000000',
  },
}
SCSS
$custom: #aa315e;
$custom-light: #c8728b;
$custom-dark: #000000;
JSON
{
  "hex": "#aa315e",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 337.686,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.16046,
    "h": 2.2
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AA315E

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

Preview Lab → · Contrast checker → · Palette generator →

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