#A23388#A23388

#A23388 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.173 H 338.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#A23388
RGBrgb(162, 51, 136)
HSLhsl(314, 52%, 42%)
HSVhsv(314, 69%, 64%)
CMYKcmyk(0%, 68.5%, 16%, 36.5%)
CIE-LABlab(40.94, 54.55, -23.45)
CIE-LCHlch(40.94, 59.38, 336.74°)
OKLaboklab(51.37% 0.1614 -0.0635)
OKLCHoklch(51.37% 0.173 338.5)
XYZxyz(20.5285, 11.8285, 24.4897)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23388 #33A24D
analogous
#8533A2 #A23388 #A23351
triadic
#A23388 #88A233 #3388A2
tetradic
#A23388 #A28533 #33A24D #3351A2
square
#A23388 #A28533 #33A24D #3351A2
split-complementary
#A23388 #51A233 #33A285
monochromatic
#45163A #732461 #A23388 #C74CAA #D57AC0

Accessibility & contrast

On white

6.24
#A23388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A23388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23388
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23388#FFFFFF#000000##FFFFFF
##A233881.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38558A
Deuteranopia (green-blind)
#5B6785
Tritanopia (blue-blind)
#AB3759
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a23388;
/* rgb */ color: rgb(162, 51, 136);
/* oklch */ color: oklch(51.4% 0.173 338.5);
Tailwind
colors: {
  custom: {
    50: '#c174ab',
    500: '#a23388',
    950: '#000000',
  },
}
SCSS
$custom: #a23388;
$custom-light: #c174ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a23388",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 314.054,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5137,
    "c": 0.17338,
    "h": 338.5
  },
  "luminance": 0.11827
}

Semantic roles & 50–950 ramp

primary
#A23388
secondary
#73BE85
accent
#DC6E4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23388

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

Preview Lab → · Contrast checker → · Palette generator →

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