#A23171#A23171

#A23171 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.162 H 349.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A23171
RGBrgb(162, 49, 113)
HSLhsl(326, 54%, 41%)
HSVhsv(326, 70%, 64%)
CMYKcmyk(0%, 69.8%, 30.2%, 36.5%)
CIE-LABlab(39.70, 52.16, -11.14)
CIE-LCHlch(39.70, 53.33, 347.94°)
OKLaboklab(50.15% 0.1589 -0.0291)
OKLCHoklch(50.15% 0.162 349.6)
XYZxyz(18.9802, 11.0723, 16.7572)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23171 #31A262
analogous
#9B31A2 #A23171 #A23138
triadic
#A23171 #71A231 #3171A2
tetradic
#A23171 #A29B31 #31A262 #3138A2
square
#A23171 #A29B31 #31A262 #3138A2
split-complementary
#A23171 #38A231 #31A29B
monochromatic
#44152F #732350 #A23171 #C84891 #D677AD

Accessibility & contrast

On white

6.53
#A23171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A23171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23171
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23171#FFFFFF#000000##FFFFFF
##A231711.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415173
Deuteranopia (green-blind)
#62656E
Tritanopia (blue-blind)
#AE2B4C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a23171;
/* rgb */ color: rgb(162, 49, 113);
/* oklch */ color: oklch(50.1% 0.162 349.6);
Tailwind
colors: {
  custom: {
    50: '#c17299',
    500: '#a23171',
    950: '#000000',
  },
}
SCSS
$custom: #a23171;
$custom-light: #c17299;
$custom-dark: #000000;
JSON
{
  "hex": "#a23171",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 326.018,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50149,
    "c": 0.1615,
    "h": 349.6
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23171

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

Preview Lab → · Contrast checker → · Palette generator →

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