#A23174#A23174

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

Color values

HEX#A23174
RGBrgb(162, 49, 116)
HSLhsl(324, 54%, 41%)
HSVhsv(324, 70%, 64%)
CMYKcmyk(0%, 69.8%, 28.4%, 36.5%)
CIE-LABlab(39.82, 52.54, -12.84)
CIE-LCHlch(39.82, 54.09, 346.27°)
OKLaboklab(50.27% 0.1596 -0.0337)
OKLCHoklch(50.27% 0.163 348.1)
XYZxyz(19.1519, 11.1410, 17.6614)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23174 #31A25F
analogous
#9831A2 #A23174 #A2313B
triadic
#A23174 #74A231 #3174A2
tetradic
#A23174 #A29831 #31A25F #313BA2
square
#A23174 #A29831 #31A25F #313BA2
split-complementary
#A23174 #3BA231 #31A298
monochromatic
#441531 #732352 #A23174 #C84894 #D677AF

Accessibility & contrast

On white

6.51
#A23174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A23174 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23174
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23174#FFFFFF#000000##FFFFFF
##A231741.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405176
Deuteranopia (green-blind)
#616571
Tritanopia (blue-blind)
#AD2D4E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a23174;
/* rgb */ color: rgb(162, 49, 116);
/* oklch */ color: oklch(50.3% 0.163 348.1);
Tailwind
colors: {
  custom: {
    50: '#c1729c',
    500: '#a23174',
    950: '#000000',
  },
}
SCSS
$custom: #a23174;
$custom-light: #c1729c;
$custom-dark: #000000;
JSON
{
  "hex": "#a23174",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 324.425,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50271,
    "c": 0.16317,
    "h": 348.1
  },
  "luminance": 0.11139
}

Semantic roles & 50–950 ramp

primary
#A23174
secondary
#71BE90
accent
#DD864B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A23174

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

Preview Lab → · Contrast checker → · Palette generator →

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