#A23888#A23888

#A23888 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.167 H 338.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A23888
RGBrgb(162, 56, 136)
HSLhsl(315, 49%, 43%)
HSVhsv(315, 65%, 64%)
CMYKcmyk(0%, 65.4%, 16%, 36.5%)
CIE-LABlab(41.67, 52.52, -22.32)
CIE-LCHlch(41.67, 57.07, 336.98°)
OKLaboklab(51.9% 0.1553 -0.0603)
OKLCHoklch(51.9% 0.167 338.8)
XYZxyz(20.7588, 12.2891, 24.5665)
Luminance0.1229 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23888 #38A252
analogous
#8738A2 #A23888 #A23853
triadic
#A23888 #88A238 #3888A2
tetradic
#A23888 #A28738 #38A252 #3853A2
square
#A23888 #A28738 #38A252 #3853A2
split-complementary
#A23888 #53A238 #38A287
monochromatic
#47193C #752862 #A23888 #C453A8 #D381BF

Accessibility & contrast

On white

6.07
#A23888 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A23888 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23888
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23888#FFFFFF#000000##FFFFFF
##A238881.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23888;
/* rgb */ color: rgb(162, 56, 136);
/* oklch */ color: oklch(51.9% 0.167 338.8);
Tailwind
colors: {
  custom: {
    50: '#c176ab',
    500: '#a23888',
    950: '#000000',
  },
}
SCSS
$custom: #a23888;
$custom-light: #c176ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a23888",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 136
  },
  "hsl": {
    "h": 314.717,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51902,
    "c": 0.16656,
    "h": 338.8
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#A23888
secondary
#79BD8A
accent
#D87150
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23888

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

Preview Lab → · Contrast checker → · Palette generator →

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