#A23B8A#A23B8A

#A23B8A is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.3% C 0.164 H 338.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A23B8A
RGBrgb(162, 59, 138)
HSLhsl(314, 47%, 43%)
HSVhsv(314, 64%, 64%)
CMYKcmyk(0%, 63.6%, 14.8%, 36.5%)
CIE-LABlab(42.23, 51.55, -22.68)
CIE-LCHlch(42.23, 56.32, 336.25°)
OKLaboklab(52.34% 0.1518 -0.0613)
OKLCHoklch(52.34% 0.164 338)
XYZxyz(21.0520, 12.6461, 25.3720)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23B8A #3BA253
analogous
#863BA2 #A23B8A #A23B56
triadic
#A23B8A #8AA23B #3B8AA2
tetradic
#A23B8A #A2863B #3BA253 #3B56A2
square
#A23B8A #A2863B #3BA253 #3B56A2
split-complementary
#A23B8A #56A23B #3BA286
monochromatic
#481A3E #752B64 #A23B8A #C258A9 #D385C0

Accessibility & contrast

On white

5.95
#A23B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A23B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23B8A
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23B8A#FFFFFF#000000##FFFFFF
##A23B8A1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598C
Deuteranopia (green-blind)
#5E6987
Tritanopia (blue-blind)
#AB3F5D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23b8a;
/* rgb */ color: rgb(162, 59, 138);
/* oklch */ color: oklch(52.3% 0.164 338.0);
Tailwind
colors: {
  custom: {
    50: '#c078ac',
    500: '#a23b8a',
    950: '#000000',
  },
}
SCSS
$custom: #a23b8a;
$custom-light: #c078ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a23b8a",
  "rgb": {
    "r": 162,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 313.981,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52336,
    "c": 0.16374,
    "h": 338
  },
  "luminance": 0.12644
}

Semantic roles & 50–950 ramp

primary
#A23B8A
secondary
#7CBD8B
accent
#D67052
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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