#A23784#A23784

#A23784 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.165 H 340.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A23784
RGBrgb(162, 55, 132)
HSLhsl(317, 49%, 43%)
HSVhsv(317, 66%, 64%)
CMYKcmyk(0%, 66%, 18.5%, 36.5%)
CIE-LABlab(41.35, 52.34, -20.38)
CIE-LCHlch(41.35, 56.17, 338.73°)
OKLaboklab(51.61% 0.1558 -0.0548)
OKLCHoklch(51.61% 0.165 340.6)
XYZxyz(20.4318, 12.0816, 23.0812)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23784 #37A255
analogous
#8A37A2 #A23784 #A2374F
triadic
#A23784 #84A237 #3784A2
tetradic
#A23784 #A28A37 #37A255 #374FA2
square
#A23784 #A28A37 #37A255 #374FA2
split-complementary
#A23784 #4FA237 #37A28A
monochromatic
#47183A #74275F #A23784 #C452A4 #D480BC

Accessibility & contrast

On white

6.15
#A23784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A23784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23784
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23784#FFFFFF#000000##FFFFFF
##A237841.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5786
Deuteranopia (green-blind)
#5E6881
Tritanopia (blue-blind)
#AB3958
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23784;
/* rgb */ color: rgb(162, 55, 132);
/* oklch */ color: oklch(51.6% 0.165 340.6);
Tailwind
colors: {
  custom: {
    50: '#c176a8',
    500: '#a23784',
    950: '#000000',
  },
}
SCSS
$custom: #a23784;
$custom-light: #c176a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a23784",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 316.822,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51606,
    "c": 0.16515,
    "h": 340.6
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#A23784
secondary
#78BD8B
accent
#D9764F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23784

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

Preview Lab → · Contrast checker → · Palette generator →

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