#A23173#A23173

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

Color values

HEX#A23173
RGBrgb(162, 49, 115)
HSLhsl(325, 54%, 41%)
HSVhsv(325, 70%, 64%)
CMYKcmyk(0%, 69.8%, 29%, 36.5%)
CIE-LABlab(39.78, 52.41, -12.27)
CIE-LCHlch(39.78, 53.83, 346.82°)
OKLaboklab(50.23% 0.1594 -0.0322)
OKLCHoklch(50.23% 0.163 348.6)
XYZxyz(19.0940, 11.1179, 17.3567)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23173 #31A260
analogous
#9931A2 #A23173 #A2313A
triadic
#A23173 #73A231 #3173A2
tetradic
#A23173 #A29931 #31A260 #313AA2
square
#A23173 #A29931 #31A260 #313AA2
split-complementary
#A23173 #3AA231 #31A299
monochromatic
#441530 #732352 #A23173 #C84893 #D677AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23173#FFFFFF#000000##FFFFFF
##A231731.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)
#415175
Deuteranopia (green-blind)
#616570
Tritanopia (blue-blind)
#AE2C4D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a23173;
/* rgb */ color: rgb(162, 49, 115);
/* oklch */ color: oklch(50.2% 0.163 348.6);
Tailwind
colors: {
  custom: {
    50: '#c1729b',
    500: '#a23173',
    950: '#000000',
  },
}
SCSS
$custom: #a23173;
$custom-light: #c1729b;
$custom-dark: #000000;
JSON
{
  "hex": "#a23173",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 324.956,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.16261,
    "h": 348.6
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23173

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

Preview Lab → · Contrast checker → · Palette generator →

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