#A23788#A23788

#A23788 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.168 H 338.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A23788
RGBrgb(162, 55, 136)
HSLhsl(315, 49%, 43%)
HSVhsv(315, 66%, 64%)
CMYKcmyk(0%, 66%, 16%, 36.5%)
CIE-LABlab(41.52, 52.94, -22.55)
CIE-LCHlch(41.52, 57.54, 336.92°)
OKLaboklab(51.79% 0.1565 -0.0609)
OKLCHoklch(51.79% 0.168 338.7)
XYZxyz(20.7108, 12.1932, 24.5505)
Luminance0.1219 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23788 #37A251
analogous
#8637A2 #A23788 #A23753
triadic
#A23788 #88A237 #3788A2
tetradic
#A23788 #A28637 #37A251 #3753A2
square
#A23788 #A28637 #37A251 #3753A2
split-complementary
#A23788 #53A237 #37A286
monochromatic
#47183B #742762 #A23788 #C452A8 #D480BF

Accessibility & contrast

On white

6.11
#A23788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A23788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23788
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23788#FFFFFF#000000##FFFFFF
##A237881.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C578A
Deuteranopia (green-blind)
#5D6885
Tritanopia (blue-blind)
#AB3B5A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23788;
/* rgb */ color: rgb(162, 55, 136);
/* oklch */ color: oklch(51.8% 0.168 338.7);
Tailwind
colors: {
  custom: {
    50: '#c176ab',
    500: '#a23788',
    950: '#000000',
  },
}
SCSS
$custom: #a23788;
$custom-light: #c176ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a23788",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 314.579,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.16796,
    "h": 338.7
  },
  "luminance": 0.12191
}

Semantic roles & 50–950 ramp

primary
#A23788
secondary
#78BD89
accent
#D9704F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23788

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

Preview Lab → · Contrast checker → · Palette generator →

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