#A34172#A34172

#A34172 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.2% C 0.140 H 351.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A34172
RGBrgb(163, 65, 114)
HSLhsl(330, 43%, 45%)
HSVhsv(330, 60%, 64%)
CMYKcmyk(0%, 60.1%, 30.1%, 36.1%)
CIE-LABlab(42.44, 45.68, -7.63)
CIE-LCHlch(42.44, 46.31, 350.51°)
OKLaboklab(52.21% 0.1387 -0.0197)
OKLCHoklch(52.21% 0.14 351.9)
XYZxyz(20.0327, 12.7840, 17.3289)
Luminance0.1278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A34172 #41A372
analogous
#A341A3 #A34172 #A34141
triadic
#A34172 #72A341 #4172A3
tetradic
#A34172 #A3A341 #41A372 #4141A3
square
#A34172 #A3A341 #41A372 #4141A3
split-complementary
#A34172 #41A341 #41A3A3
monochromatic
#4B1E35 #773053 #A34172 #C06191 #D18DAF

Accessibility & contrast

On white

5.90
#A34172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A34172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A34172
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A34172#FFFFFF#000000##FFFFFF
##A341721.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5974
Deuteranopia (green-blind)
#696B70
Tritanopia (blue-blind)
#AE3C54
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a34172;
/* rgb */ color: rgb(163, 65, 114);
/* oklch */ color: oklch(52.2% 0.140 351.9);
Tailwind
colors: {
  custom: {
    50: '#c17b9a',
    500: '#a34172',
    950: '#000000',
  },
}
SCSS
$custom: #a34172;
$custom-light: #c17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a34172",
  "rgb": {
    "r": 163,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 330,
    "s": 42.982,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52212,
    "c": 0.14011,
    "h": 351.9
  },
  "luminance": 0.12782
}

Semantic roles & 50–950 ramp

primary
#A34172
secondary
#83BDA0
accent
#D39455
background
#FCF7F9
surface
#F8EEF2
border
#D1C9CC
text
#130A0E
muted
#827C7E

Preview Lab

Preview with #A34172

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

Preview Lab → · Contrast checker → · Palette generator →

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