#A23C8D#A23C8D

#A23C8D is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.165 H 336.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A23C8D
RGBrgb(162, 60, 141)
HSLhsl(312, 46%, 44%)
HSVhsv(312, 63%, 64%)
CMYKcmyk(0%, 63%, 13%, 36.5%)
CIE-LABlab(42.52, 51.59, -24.05)
CIE-LCHlch(42.52, 56.92, 335.00°)
OKLaboklab(52.59% 0.151 -0.0652)
OKLCHoklch(52.59% 0.165 336.6)
XYZxyz(21.3241, 12.8379, 26.5490)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23C8D #3CA251
analogous
#843CA2 #A23C8D #A23C5A
triadic
#A23C8D #8DA23C #3C8DA2
tetradic
#A23C8D #A2843C #3CA251 #3C5AA2
square
#A23C8D #A2843C #3CA251 #3C5AA2
split-complementary
#A23C8D #5AA23C #3CA284
monochromatic
#491B3F #752B66 #A23C8D #C259AC #D286C3

Accessibility & contrast

On white

5.89
#A23C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A23C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23C8D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23C8D#FFFFFF#000000##FFFFFF
##A23C8D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8F
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#AA415F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23c8d;
/* rgb */ color: rgb(162, 60, 141);
/* oklch */ color: oklch(52.6% 0.165 336.6);
Tailwind
colors: {
  custom: {
    50: '#c078ae',
    500: '#a23c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a23c8d;
$custom-light: #c078ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a23c8d",
  "rgb": {
    "r": 162,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 312.353,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.16452,
    "h": 336.6
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#A23C8D
secondary
#7DBC8A
accent
#D66D52
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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