#A33172#A33172

#A33172 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.163 H 349.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A33172
RGBrgb(163, 49, 114)
HSLhsl(326, 54%, 42%)
HSVhsv(326, 70%, 64%)
CMYKcmyk(0%, 69.9%, 30.1%, 36.1%)
CIE-LABlab(39.92, 52.57, -11.43)
CIE-LCHlch(39.92, 53.80, 347.74°)
OKLaboklab(50.35% 0.1601 -0.0299)
OKLCHoklch(50.35% 0.163 349.4)
XYZxyz(19.2408, 11.2002, 17.0649)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A33172 #31A362
analogous
#9B31A3 #A33172 #A33139
triadic
#A33172 #72A331 #3172A3
tetradic
#A33172 #A39B31 #31A362 #3139A3
square
#A33172 #A39B31 #31A362 #3139A3
split-complementary
#A33172 #39A331 #31A39B
monochromatic
#451530 #742351 #A33172 #C84992 #D678AE

Accessibility & contrast

On white

6.48
#A33172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A33172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A33172
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A33172#FFFFFF#000000##FFFFFF
##A331721.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415174
Deuteranopia (green-blind)
#62656F
Tritanopia (blue-blind)
#AF2C4D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a33172;
/* rgb */ color: rgb(163, 49, 114);
/* oklch */ color: oklch(50.4% 0.163 349.4);
Tailwind
colors: {
  custom: {
    50: '#c2729a',
    500: '#a33172',
    950: '#000000',
  },
}
SCSS
$custom: #a33172;
$custom-light: #c2729a;
$custom-dark: #000000;
JSON
{
  "hex": "#a33172",
  "rgb": {
    "r": 163,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 325.789,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.16285,
    "h": 349.4
  },
  "luminance": 0.11198
}

Semantic roles & 50–950 ramp

primary
#A33172
secondary
#71BF92
accent
#DD8A4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A33172

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

Preview Lab → · Contrast checker → · Palette generator →

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