#A23172#A23172

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

Color values

HEX#A23172
RGBrgb(162, 49, 114)
HSLhsl(325, 54%, 41%)
HSVhsv(325, 70%, 64%)
CMYKcmyk(0%, 69.8%, 29.6%, 36.5%)
CIE-LABlab(39.74, 52.28, -11.71)
CIE-LCHlch(39.74, 53.58, 347.38°)
OKLaboklab(50.19% 0.1591 -0.0306)
OKLCHoklch(50.19% 0.162 349.1)
XYZxyz(19.0368, 11.0950, 17.0553)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23172 #31A261
analogous
#9A31A2 #A23172 #A23139
triadic
#A23172 #72A231 #3172A2
tetradic
#A23172 #A29A31 #31A261 #3139A2
square
#A23172 #A29A31 #31A261 #3139A2
split-complementary
#A23172 #39A231 #31A29A
monochromatic
#441530 #732351 #A23172 #C84892 #D677AE

Accessibility & contrast

On white

6.52
#A23172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A23172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23172
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23172#FFFFFF#000000##FFFFFF
##A231721.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23172;
/* rgb */ color: rgb(162, 49, 114);
/* oklch */ color: oklch(50.2% 0.162 349.1);
Tailwind
colors: {
  custom: {
    50: '#c1729a',
    500: '#a23172',
    950: '#000000',
  },
}
SCSS
$custom: #a23172;
$custom-light: #c1729a;
$custom-dark: #000000;
JSON
{
  "hex": "#a23172",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 325.487,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.16205,
    "h": 349.1
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23172

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

Preview Lab → · Contrast checker → · Palette generator →

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