#A23C8A#A23C8A

#A23C8A is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.162 H 338.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A23C8A
RGBrgb(162, 60, 138)
HSLhsl(314, 46%, 44%)
HSVhsv(314, 63%, 64%)
CMYKcmyk(0%, 63%, 14.8%, 36.5%)
CIE-LABlab(42.38, 51.11, -22.44)
CIE-LCHlch(42.38, 55.82, 336.30°)
OKLaboklab(52.45% 0.1505 -0.0607)
OKLCHoklch(52.45% 0.162 338)
XYZxyz(21.1039, 12.7499, 25.3893)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23C8A #3CA254
analogous
#873CA2 #A23C8A #A23C57
triadic
#A23C8A #8AA23C #3C8AA2
tetradic
#A23C8A #A2873C #3CA254 #3C57A2
square
#A23C8A #A2873C #3CA254 #3C57A2
split-complementary
#A23C8A #57A23C #3CA287
monochromatic
#491B3E #752B64 #A23C8A #C259A9 #D286C0

Accessibility & contrast

On white

5.92
#A23C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#A23C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23C8A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23C8A#FFFFFF#000000##FFFFFF
##A23C8A1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#AB405D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23c8a;
/* rgb */ color: rgb(162, 60, 138);
/* oklch */ color: oklch(52.5% 0.162 338.0);
Tailwind
colors: {
  custom: {
    50: '#c078ac',
    500: '#a23c8a',
    950: '#000000',
  },
}
SCSS
$custom: #a23c8a;
$custom-light: #c078ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a23c8a",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 314.118,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52452,
    "c": 0.16227,
    "h": 338
  },
  "luminance": 0.12748
}

Semantic roles & 50–950 ramp

primary
#A23C8A
secondary
#7DBC8C
accent
#D67152
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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