#A23786#A23786

#A23786 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.167 H 339.7°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A23786
RGBrgb(162, 55, 134)
HSLhsl(316, 49%, 43%)
HSVhsv(316, 66%, 64%)
CMYKcmyk(0%, 66%, 17.3%, 36.5%)
CIE-LABlab(41.43, 52.64, -21.47)
CIE-LCHlch(41.43, 56.85, 337.81°)
OKLaboklab(51.7% 0.1562 -0.0579)
OKLCHoklch(51.7% 0.167 339.7)
XYZxyz(20.5700, 12.1368, 23.8089)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23786 #37A253
analogous
#8937A2 #A23786 #A23750
triadic
#A23786 #86A237 #3786A2
tetradic
#A23786 #A28937 #37A253 #3750A2
square
#A23786 #A28937 #37A253 #3750A2
split-complementary
#A23786 #50A237 #37A289
monochromatic
#47183A #742760 #A23786 #C452A6 #D480BE

Accessibility & contrast

On white

6.13
#A23786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A23786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23786
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23786#FFFFFF#000000##FFFFFF
##A237861.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5788
Deuteranopia (green-blind)
#5E6883
Tritanopia (blue-blind)
#AB3A59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23786;
/* rgb */ color: rgb(162, 55, 134);
/* oklch */ color: oklch(51.7% 0.167 339.7);
Tailwind
colors: {
  custom: {
    50: '#c176a9',
    500: '#a23786',
    950: '#000000',
  },
}
SCSS
$custom: #a23786;
$custom-light: #c176a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23786",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 134
  },
  "hsl": {
    "h": 315.701,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.16654,
    "h": 339.7
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#A23786
secondary
#78BD8A
accent
#D9734F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23786

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

Preview Lab → · Contrast checker → · Palette generator →

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