#A13172#A13172

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

Color values

HEX#A13172
RGBrgb(161, 49, 114)
HSLhsl(325, 53%, 41%)
HSVhsv(325, 70%, 63%)
CMYKcmyk(0%, 69.6%, 29.2%, 36.9%)
CIE-LABlab(39.56, 52.00, -11.99)
CIE-LCHlch(39.56, 53.36, 347.02°)
OKLaboklab(50.03% 0.1582 -0.0314)
OKLCHoklch(50.03% 0.161 348.8)
XYZxyz(18.8344, 10.9906, 17.0459)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A13172 #31A160
analogous
#9831A1 #A13172 #A1313A
triadic
#A13172 #72A131 #3172A1
tetradic
#A13172 #A19831 #31A160 #313AA1
square
#A13172 #A19831 #31A160 #313AA1
split-complementary
#A13172 #3AA131 #31A198
monochromatic
#431430 #722351 #A13172 #C74892 #D677AE

Accessibility & contrast

On white

6.57
#A13172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A13172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A13172
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A13172#FFFFFF#000000##FFFFFF
##A131721.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#61646F
Tritanopia (blue-blind)
#AC2C4D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a13172;
/* rgb */ color: rgb(161, 49, 114);
/* oklch */ color: oklch(50.0% 0.161 348.8);
Tailwind
colors: {
  custom: {
    50: '#c1729a',
    500: '#a13172',
    950: '#000000',
  },
}
SCSS
$custom: #a13172;
$custom-light: #c1729a;
$custom-dark: #000000;
JSON
{
  "hex": "#a13172",
  "rgb": {
    "r": 161,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 325.179,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50028,
    "c": 0.16125,
    "h": 348.8
  },
  "luminance": 0.10989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A13172

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

Preview Lab → · Contrast checker → · Palette generator →

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