#A23487#A23487

#A23487 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.171 H 339.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A23487
RGBrgb(162, 52, 135)
HSLhsl(315, 51%, 42%)
HSVhsv(315, 68%, 64%)
CMYKcmyk(0%, 67.9%, 16.7%, 36.5%)
CIE-LABlab(41.04, 54.01, -22.69)
CIE-LCHlch(41.04, 58.58, 337.21°)
OKLaboklab(51.43% 0.16 -0.0613)
OKLCHoklch(51.43% 0.171 339)
XYZxyz(20.5019, 11.8885, 24.1319)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23487 #34A24F
analogous
#8634A2 #A23487 #A23450
triadic
#A23487 #87A234 #3487A2
tetradic
#A23487 #A28634 #34A24F #3450A2
square
#A23487 #A28634 #34A24F #3450A2
split-complementary
#A23487 #50A234 #34A286
monochromatic
#45163A #742560 #A23487 #C64DA8 #D57CBF

Accessibility & contrast

On white

6.22
#A23487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A23487 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23487
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23487#FFFFFF#000000##FFFFFF
##A234871.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395689
Deuteranopia (green-blind)
#5C6784
Tritanopia (blue-blind)
#AB3859
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23487;
/* rgb */ color: rgb(162, 52, 135);
/* oklch */ color: oklch(51.4% 0.171 339.0);
Tailwind
colors: {
  custom: {
    50: '#c174aa',
    500: '#a23487',
    950: '#000000',
  },
}
SCSS
$custom: #a23487;
$custom-light: #c174aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a23487",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 135
  },
  "hsl": {
    "h": 314.727,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51425,
    "c": 0.17134,
    "h": 339
  },
  "luminance": 0.11887
}

Semantic roles & 50–950 ramp

primary
#A23487
secondary
#74BE86
accent
#DB704D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23487

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

Preview Lab → · Contrast checker → · Palette generator →

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