#A23E8A#A23E8A

#A23E8A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.7% C 0.159 H 338.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A23E8A
RGBrgb(162, 62, 138)
HSLhsl(314, 45%, 44%)
HSVhsv(314, 62%, 64%)
CMYKcmyk(0%, 61.7%, 14.8%, 36.5%)
CIE-LABlab(42.71, 50.23, -21.94)
CIE-LCHlch(42.71, 54.81, 336.41°)
OKLaboklab(52.69% 0.1479 -0.0593)
OKLCHoklch(52.69% 0.159 338.2)
XYZxyz(21.2107, 12.9634, 25.4249)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23E8A #3EA256
analogous
#883EA2 #A23E8A #A23E58
triadic
#A23E8A #8AA23E #3E8AA2
tetradic
#A23E8A #A2883E #3EA256 #3E58A2
square
#A23E8A #A2883E #3EA256 #3E58A2
split-complementary
#A23E8A #58A23E #3EA288
monochromatic
#491C3F #762D64 #A23E8A #C15CA9 #D289C0

Accessibility & contrast

On white

5.85
#A23E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A23E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23E8A
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23E8A#FFFFFF#000000##FFFFFF
##A23E8A1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#AA425E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a23e8a;
/* rgb */ color: rgb(162, 62, 138);
/* oklch */ color: oklch(52.7% 0.159 338.2);
Tailwind
colors: {
  custom: {
    50: '#c079ac',
    500: '#a23e8a',
    950: '#000000',
  },
}
SCSS
$custom: #a23e8a;
$custom-light: #c079ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a23e8a",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 314.4,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5269,
    "c": 0.1593,
    "h": 338.2
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#A23E8A
secondary
#80BC8E
accent
#D47253
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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