#AA3158#AA3158

#AA3158 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.159 H 5.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AA3158
RGBrgb(170, 49, 88)
HSLhsl(341, 55%, 43%)
HSVhsv(341, 71%, 67%)
CMYKcmyk(0%, 71.2%, 48.2%, 33.3%)
CIE-LABlab(40.33, 51.79, 5.64)
CIE-LCHlch(40.33, 52.10, 6.22°)
OKLaboklab(50.61% 0.1582 0.0149)
OKLCHoklch(50.61% 0.159 5.4)
XYZxyz(19.4389, 11.4498, 10.4170)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA3158 #31AA83
analogous
#AA3194 #AA3158 #AA4631
triadic
#AA3158 #58AA31 #3158AA
tetradic
#AA3158 #94AA31 #31AA83 #4631AA
square
#AA3158 #94AA31 #31AA83 #4631AA
split-complementary
#AA3158 #31AA46 #3194AA
monochromatic
#4B1627 #7A233F #AA3158 #CC4D76 #D97C9A

Accessibility & contrast

On white

6.38
#AA3158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AA3158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AA3158
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA3158#FFFFFF#000000##FFFFFF
##AA31581.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5059
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#B91C41
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #aa3158;
/* rgb */ color: rgb(170, 49, 88);
/* oklch */ color: oklch(50.6% 0.159 5.4);
Tailwind
colors: {
  custom: {
    50: '#c97286',
    500: '#aa3158',
    950: '#000000',
  },
}
SCSS
$custom: #aa3158;
$custom-light: #c97286;
$custom-dark: #000000;
JSON
{
  "hex": "#aa3158",
  "rgb": {
    "r": 170,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 340.661,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.15886,
    "h": 5.4
  },
  "luminance": 0.11447
}

Semantic roles & 50–950 ramp

primary
#AA3158
secondary
#75C2A9
accent
#DFAE49
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AA3158

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

Preview Lab → · Contrast checker → · Palette generator →

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