#A23186#A23186

#A23186 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.175 H 339.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A23186
RGBrgb(162, 49, 134)
HSLhsl(315, 54%, 41%)
HSVhsv(315, 70%, 64%)
CMYKcmyk(0%, 69.8%, 17.3%, 36.5%)
CIE-LABlab(40.58, 55.03, -22.80)
CIE-LCHlch(40.58, 59.56, 337.50°)
OKLaboklab(51.07% 0.1634 -0.0616)
OKLCHoklch(51.07% 0.175 339.3)
XYZxyz(20.3022, 11.6011, 23.7196)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23186 #31A24D
analogous
#8631A2 #A23186 #A2314E
triadic
#A23186 #86A231 #3186A2
tetradic
#A23186 #A28631 #31A24D #314EA2
square
#A23186 #A28631 #31A24D #314EA2
split-complementary
#A23186 #4EA231 #31A286
monochromatic
#441538 #73235F #A23186 #C848A8 #D677BF

Accessibility & contrast

On white

6.33
#A23186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A23186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23186
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23186#FFFFFF#000000##FFFFFF
##A231861.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375488
Deuteranopia (green-blind)
#5B6683
Tritanopia (blue-blind)
#AB3557
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23186;
/* rgb */ color: rgb(162, 49, 134);
/* oklch */ color: oklch(51.1% 0.175 339.3);
Tailwind
colors: {
  custom: {
    50: '#c173a9',
    500: '#a23186',
    950: '#000000',
  },
}
SCSS
$custom: #a23186;
$custom-light: #c173a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23186",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 314.867,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.17457,
    "h": 339.3
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#A23186
secondary
#71BE84
accent
#DD6F4B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23186

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

Preview Lab → · Contrast checker → · Palette generator →

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