#A13171#A13171

#A13171 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.161 H 349.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A13171
RGBrgb(161, 49, 113)
HSLhsl(326, 53%, 41%)
HSVhsv(326, 70%, 63%)
CMYKcmyk(0%, 69.6%, 29.8%, 36.9%)
CIE-LABlab(39.53, 51.87, -11.42)
CIE-LCHlch(39.53, 53.11, 347.58°)
OKLaboklab(49.99% 0.1579 -0.0299)
OKLCHoklch(49.99% 0.161 349.3)
XYZxyz(18.7778, 10.9680, 16.7477)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13171 #31A161
analogous
#9931A1 #A13171 #A13139
triadic
#A13171 #71A131 #3171A1
tetradic
#A13171 #A19931 #31A161 #3139A1
square
#A13171 #A19931 #31A161 #3139A1
split-complementary
#A13171 #39A131 #31A199
monochromatic
#43142F #722350 #A13171 #C74891 #D677AD

Accessibility & contrast

On white

6.58
#A13171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A13171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13171
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13171#FFFFFF#000000##FFFFFF
##A131711.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#61646E
Tritanopia (blue-blind)
#AD2C4C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a13171;
/* rgb */ color: rgb(161, 49, 113);
/* oklch */ color: oklch(50.0% 0.161 349.3);
Tailwind
colors: {
  custom: {
    50: '#c17299',
    500: '#a13171',
    950: '#000000',
  },
}
SCSS
$custom: #a13171;
$custom-light: #c17299;
$custom-dark: #000000;
JSON
{
  "hex": "#a13171",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 325.714,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.1607,
    "h": 349.3
  },
  "luminance": 0.10966
}

Semantic roles & 50–950 ramp

primary
#A13171
secondary
#70BE91
accent
#DD894B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A13171

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

Preview Lab → · Contrast checker → · Palette generator →

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